diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-19 12:22:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-19 12:22:51 +0200 |
commit | 20f90cf99a156ba6fa93fc44047264685f210824 (patch) | |
tree | 230e40498e27cf023fff502634b81ce7618fb9e0 /runtime/syntax/gnash.vim | |
parent | 3a7d8c3adb80c26564fa2e25f0edda38c905c3a3 (diff) | |
download | vim-git-20f90cf99a156ba6fa93fc44047264685f210824.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/gnash.vim')
-rw-r--r-- | runtime/syntax/gnash.vim | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/runtime/syntax/gnash.vim b/runtime/syntax/gnash.vim index 413ebaa64..97d5aa4ce 100644 --- a/runtime/syntax/gnash.vim +++ b/runtime/syntax/gnash.vim @@ -2,7 +2,7 @@ " Language: gnash(1) configuration files " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc " Maintainer: Thilo Six <T.Six@gmx.de> -" Last Change: 2011 Apr 28 +" Last Change: 17 May 2011 " Credidts: derived from readline.vim " Nikolai Weibull " @@ -15,16 +15,12 @@ elseif exists ("b:current_syntax") finish endif -let s:cpo_save = &cpo -set cpo&vim - - syn case match - syn keyword GnashTodo contained TODO FIXME XXX NOTE -syn region GnashComment display oneline start='^\s*#' end='$' - \ contains=GnashTodo,@Spell +" Comments +syn match GnashComment "^#.*$" contains=GnashTodo +syn match GnashComment "\s#.*$" contains=GnashTodo syn match GnashNumber display '\<\d\+\>' @@ -84,16 +80,13 @@ syn match GnashKeyword '\<webcamDevice\>' syn match GnashKeyword '\<whitelist\>' syn match GnashKeyword '\<writelog\>' -hi def GnashOn ctermfg=Green guifg=Green -hi def GnashOff ctermfg=Red guifg=Red +hi def link GnashOn Identifier +hi def link GnashOff Preproc hi def link GnashComment Comment hi def link GnashTodo Todo hi def link GnashString String -hi def link GnashNumber Normal +hi def link GnashNumber Type hi def link GnashSet String hi def link GnashKeyword Keyword let b:current_syntax = "gnash" - -let &cpo = s:cpo_save -unlet s:cpo_save |