From bc9757916ed09763d96283ee62dbed58bd713a11 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 6 Oct 2020 18:54:19 +0200 Subject: Add all vim filetypes --- syntax/gnash.vim | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 syntax/gnash.vim (limited to 'syntax/gnash.vim') diff --git a/syntax/gnash.vim b/syntax/gnash.vim new file mode 100644 index 00000000..b424b8e2 --- /dev/null +++ b/syntax/gnash.vim @@ -0,0 +1,100 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gnash') == -1 + +" 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" + + +endif -- cgit v1.2.3