summaryrefslogtreecommitdiff
path: root/runtime/syntax/libao.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-06-13 20:20:40 +0000
committerBram Moolenaar <Bram@vim.org>2004-06-13 20:20:40 +0000
commit071d4279d6ab81b7187b48f3a0fc61e587b6db6c (patch)
tree221cbe3c40e043163c06f61c52a7ba2eb41e12ce /runtime/syntax/libao.vim
parentb4210b3bc14e2918f153a7307530fbe6eba659e1 (diff)
downloadvim-git-071d4279d6ab81b7187b48f3a0fc61e587b6db6c.tar.gz
updated for version 7.0001v7.0001
Diffstat (limited to 'runtime/syntax/libao.vim')
-rw-r--r--runtime/syntax/libao.vim46
1 files changed, 46 insertions, 0 deletions
diff --git a/runtime/syntax/libao.vim b/runtime/syntax/libao.vim
new file mode 100644
index 000000000..f675150e0
--- /dev/null
+++ b/runtime/syntax/libao.vim
@@ -0,0 +1,46 @@
+" Vim syntax file
+" Language: libao configuration file
+" Maintainer: Nikolai Weibull <source@pcppopper.org>
+" URL: http://www.pcppopper.org/vim/syntax/pcp/libao/
+" Latest Revision: 2004-05-22
+" arch-tag: 4ddef0a8-6817-4555-a5a1-0be82094053d
+
+if version < 600
+ syntax clear
+elseif exists("b:current_syntax")
+ finish
+endif
+
+" Todo
+syn keyword libaoTodo contained TODO FIXME XXX NOTE
+
+" Comments
+syn region libaoComment matchgroup=libaoComment start='^\s*#' end='$' contains=libaoTodo
+
+" Keywords
+syn keyword libaoKeyword default_driver
+
+" Define the default highlighting.
+" For version 5.7 and earlier: only when not done already
+" For version 5.8 and later: only when an item doesn't have highlighting yet
+if version >= 508 || !exists("did_libao_syn_inits")
+ if version < 508
+ let did_libao_syn_inits = 1
+ command -nargs=+ HiLink hi link <args>
+ command -nargs=+ HiDef hi <args>
+ else
+ command -nargs=+ HiLink hi def link <args>
+ command -nargs=+ HiDef hi def <args>
+ endif
+
+ HiLink libaoTodo Todo
+ HiLink libaoComment Comment
+ HiLink libaoKeyword Keyword
+
+ delcommand HiLink
+ delcommand HiDef
+endif
+
+let b:current_syntax = "libao"
+
+" vim: set sts=2 sw=2: