From 5b77877888162f4e415fe9a7b8c5e9fb5dfb6ee1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 27 Sep 2017 20:43:42 +0200 Subject: Add syntax files from upstream vim repository --- syntax/libao.vim | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 syntax/libao.vim (limited to 'syntax/libao.vim') diff --git a/syntax/libao.vim b/syntax/libao.vim new file mode 100644 index 00000000..4366fe23 --- /dev/null +++ b/syntax/libao.vim @@ -0,0 +1,31 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 + +" Vim syntax file +" Language: libao.conf(5) configuration file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2006-04-19 + +if exists("b:current_syntax") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +syn keyword libaoTodo contained TODO FIXME XXX NOTE + +syn region libaoComment display oneline start='^\s*#' end='$' + \ contains=libaoTodo,@Spell + +syn keyword libaoKeyword default_driver + +hi def link libaoTodo Todo +hi def link libaoComment Comment +hi def link libaoKeyword Keyword + +let b:current_syntax = "libao" + +let &cpo = s:cpo_save +unlet s:cpo_save + +endif -- cgit v1.2.3