From aed8ce9da277f5ecffe968b324f242c41c3b752a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 10:50:31 +0200 Subject: Adding upstream version 2:9.0.1378. Signed-off-by: Daniel Baumann --- runtime/syntax/gnash.vim | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 runtime/syntax/gnash.vim (limited to 'runtime/syntax/gnash.vim') diff --git a/runtime/syntax/gnash.vim b/runtime/syntax/gnash.vim new file mode 100644 index 0000000..cce522d --- /dev/null +++ b/runtime/syntax/gnash.vim @@ -0,0 +1,96 @@ +" Vim syntax file +" Maintainer: Thilo Six +" Contact: +" http://www.vim.org/maillist.php#vim-dev +" +" Description: highlight gnash configuration files +" http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc +" File: runtime/syntax/gnash.vim +" Last Change: 2012 May 19 +" Modeline: vim: ts=8:sw=2:sts=2: +" +" Credits: derived from Nikolai Weibulls readline.vim +" +" License: VIM License +" Vim is Charityware, see ":help Uganda" +" + +" quit when a syntax file was already loaded +if exists("b:current_syntax") || &compatible + finish +endif + +syn case match +syn keyword GnashTodo contained TODO FIXME XXX NOTE + +" Comments +syn match GnashComment "^#.*$" contains=@Spell,GnashTodo +syn match GnashComment "\s#.*$" contains=@Spell,GnashTodo + +syn match GnashNumber display '\<\d\+\>' + +syn case ignore +syn keyword GnashOn ON YES TRUE +syn keyword GnashOff OFF NO FALSE + +syn match GnashSet '^\s*set\>' +syn match GnashSet '^\s*append\>' + +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' +syn match GnashKeyword '\' + +hi def link GnashOn Identifier +hi def link GnashOff Preproc +hi def link GnashComment Comment +hi def link GnashTodo Todo +hi def link GnashNumber Type +hi def link GnashSet String +hi def link GnashKeyword Keyword + +let b:current_syntax = "gnash" + -- cgit v1.2.3