gnash.vim (3462B)
1 " Vim syntax file 2 " Maintainer: Thilo Six 3 " Contact: <vim-dev at vim dot org> 4 " http://www.vim.org/maillist.php#vim-dev 5 " 6 " Description: highlight gnash configuration files 7 " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc 8 " File: runtime/syntax/gnash.vim 9 " Last Change: 2012 May 19 10 " Modeline: vim: ts=8:sw=2:sts=2: 11 " 12 " Credits: derived from Nikolai Weibulls readline.vim 13 " 14 " License: VIM License 15 " Vim is Charityware, see ":help Uganda" 16 " 17 18 " quit when a syntax file was already loaded 19 if exists("b:current_syntax") || &compatible 20 finish 21 endif 22 23 syn case match 24 syn keyword GnashTodo contained TODO FIXME XXX NOTE 25 26 " Comments 27 syn match GnashComment "^#.*$" contains=@Spell,GnashTodo 28 syn match GnashComment "\s#.*$" contains=@Spell,GnashTodo 29 30 syn match GnashNumber display '\<\d\+\>' 31 32 syn case ignore 33 syn keyword GnashOn ON YES TRUE 34 syn keyword GnashOff OFF NO FALSE 35 36 syn match GnashSet '^\s*set\>' 37 syn match GnashSet '^\s*append\>' 38 39 syn match GnashKeyword '\<CertDir\>' 40 syn match GnashKeyword '\<ASCodingErrorsVerbosity\>' 41 syn match GnashKeyword '\<CertFile\>' 42 syn match GnashKeyword '\<EnableExtensions\>' 43 syn match GnashKeyword '\<HWAccel\>' 44 syn match GnashKeyword '\<LCShmKey\>' 45 syn match GnashKeyword '\<LocalConnection\>' 46 syn match GnashKeyword '\<MalformedSWFVerbosity\>' 47 syn match GnashKeyword '\<Renderer\>' 48 syn match GnashKeyword '\<RootCert\>' 49 syn match GnashKeyword '\<SOLReadOnly\>' 50 syn match GnashKeyword '\<SOLSafeDir\>' 51 syn match GnashKeyword '\<SOLreadonly\>' 52 syn match GnashKeyword '\<SOLsafedir\>' 53 syn match GnashKeyword '\<StartStopped\>' 54 syn match GnashKeyword '\<StreamsTimeout\>' 55 syn match GnashKeyword '\<URLOpenerFormat\>' 56 syn match GnashKeyword '\<XVideo\>' 57 syn match GnashKeyword '\<actionDump\>' 58 syn match GnashKeyword '\<blacklist\>' 59 syn match GnashKeyword '\<debugger\>' 60 syn match GnashKeyword '\<debuglog\>' 61 syn match GnashKeyword '\<delay\>' 62 syn match GnashKeyword '\<enableExtensions\>' 63 syn match GnashKeyword '\<flashSystemManufacturer\>' 64 syn match GnashKeyword '\<flashSystemOS\>' 65 syn match GnashKeyword '\<flashVersionString\>' 66 syn match GnashKeyword '\<ignoreFSCommand\>' 67 syn match GnashKeyword '\<ignoreShowMenu\>' 68 syn match GnashKeyword '\<insecureSSL\>' 69 syn match GnashKeyword '\<localSandboxPath\>' 70 syn match GnashKeyword '\<localdomain\>' 71 syn match GnashKeyword '\<localhost\>' 72 syn match GnashKeyword '\<microphoneDevice\>' 73 syn match GnashKeyword '\<parserDump\>' 74 syn match GnashKeyword '\<pluginsound\>' 75 syn match GnashKeyword '\<quality\>' 76 syn match GnashKeyword '\<solLocalDomain\>' 77 syn match GnashKeyword '\<sound\>' 78 syn match GnashKeyword '\<splashScreen\>' 79 syn match GnashKeyword '\<startStopped\>' 80 syn match GnashKeyword '\<streamsTimeout\>' 81 syn match GnashKeyword '\<urlOpenerFormat\>' 82 syn match GnashKeyword '\<verbosity\>' 83 syn match GnashKeyword '\<webcamDevice\>' 84 syn match GnashKeyword '\<whitelist\>' 85 syn match GnashKeyword '\<writelog\>' 86 87 hi def link GnashOn Identifier 88 hi def link GnashOff Preproc 89 hi def link GnashComment Comment 90 hi def link GnashTodo Todo 91 hi def link GnashNumber Type 92 hi def link GnashSet String 93 hi def link GnashKeyword Keyword 94 95 let b:current_syntax = "gnash"