xref: /vim-8.2.3635/runtime/syntax/libao.vim (revision 19a09a18)
1" Vim syntax file
2" Language:	    libao configuration file
3" Maintainer:	    Nikolai Weibull <[email protected]>
4" URL:		    http://www.pcppopper.org/vim/syntax/pcp/libao/
5" Latest Revision:  2004-05-22
6" arch-tag:	    4ddef0a8-6817-4555-a5a1-0be82094053d
7
8if version < 600
9  syntax clear
10elseif exists("b:current_syntax")
11  finish
12endif
13
14" Todo
15syn keyword libaoTodo	    contained TODO FIXME XXX NOTE
16
17" Comments
18syn region  libaoComment    matchgroup=libaoComment start='^\s*#' end='$' contains=libaoTodo
19
20" Keywords
21syn keyword libaoKeyword    default_driver
22
23" Define the default highlighting.
24" For version 5.7 and earlier: only when not done already
25" For version 5.8 and later: only when an item doesn't have highlighting yet
26if version >= 508 || !exists("did_libao_syn_inits")
27  if version < 508
28    let did_libao_syn_inits = 1
29    command -nargs=+ HiLink hi link <args>
30    command -nargs=+ HiDef hi <args>
31  else
32    command -nargs=+ HiLink hi def link <args>
33    command -nargs=+ HiDef hi def <args>
34  endif
35
36  HiLink libaoTodo	Todo
37  HiLink libaoComment	Comment
38  HiLink libaoKeyword	Keyword
39
40  delcommand HiLink
41  delcommand HiDef
42endif
43
44let b:current_syntax = "libao"
45
46" vim: set sts=2 sw=2:
47