summaryrefslogtreecommitdiff
path: root/runtime/syntax/alsaconf.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
commit0dc065ee7c3bd51e5df3926700e409ae74cdfecf (patch)
tree3e2f974603cbba12d3f1dcebf493e7ff2bf54d7f /runtime/syntax/alsaconf.vim
parent7d1f5dbc0a254d7524b3f985f2440bf89e037355 (diff)
downloadvim-git-0dc065ee7c3bd51e5df3926700e409ae74cdfecf.tar.gz
updated for version 7.0102v7.0102
Diffstat (limited to 'runtime/syntax/alsaconf.vim')
-rw-r--r--runtime/syntax/alsaconf.vim10
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/syntax/alsaconf.vim b/runtime/syntax/alsaconf.vim
index 0e3362a1a..f2bda1894 100644
--- a/runtime/syntax/alsaconf.vim
+++ b/runtime/syntax/alsaconf.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: alsaconf(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
-" Latest Revision: 2005-06-29
+" Latest Revision: 2005-07-04
if exists("b:current_syntax")
finish
@@ -12,21 +12,19 @@ set cpo&vim
syn keyword alsoconfTodo contained FIXME TODO XXX NOTE
-syn region alsaconfComment matchgroup=alsaconfComment
+syn region alsaconfComment display oneline
\ start='#' end='$'
\ contains=alsaconfTodo,@Spell
syn match alsaconfSpecialChar contained display '\\[ntvbrf]'
syn match alsaconfSpecialChar contained display '\\\o\+'
-syn region alsaconfString matchgroup=alsaconfString
- \ start=+"+ skip=+\\$+ end=+"+ end=+$+
+syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+
\ contains=alsaconfSpecialChar
syn match alsaconfSpecial contained display 'confdir:'
-syn region alsaconfPreProc matchgroup=alsaconfPreProc start='<' end='>'
- \ contains=alsaconfSpecial
+syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial
syn match alsaconfMode display '[+?!-]'