Mercurial > vim
comparison runtime/syntax/gnash.vim @ 3557:9cb3a75a20b9
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 01 Jun 2012 22:38:45 +0200 |
parents | 8b8ef1fed009 |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
3556:1110869e267a | 3557:9cb3a75a20b9 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: gnash(1) configuration files | 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 | |
3 " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc | 7 " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc |
4 " Maintainer: Thilo Six <T.Six@gmx.de> | 8 " File: runtime/syntax/gnash.vim |
5 " Last Change: 2011 Dec 11 | 9 " Last Change: 2012 May 19 |
6 " Modeline: vim: ts=8:sw=2:sts=2: | 10 " Modeline: vim: ts=8:sw=2:sts=2: |
7 " Credidts: derived from readline.vim | 11 " |
8 " Nikolai Weibull | 12 " Credits: derived from Nikolai Weibulls readline.vim |
13 " | |
14 " License: VIM License | |
15 " Vim is Charityware, see ":help Uganda" | |
9 " | 16 " |
10 | 17 |
11 " For version 5.x: Clear all syntax items | 18 " For version 5.x: Clear all syntax items |
12 " For version 6.x: Quit when a syntax file was already loaded | 19 " For version 6.x: Quit when a syntax file was already loaded |
13 if version < 600 | 20 if version < 600 |
18 | 25 |
19 syn case match | 26 syn case match |
20 syn keyword GnashTodo contained TODO FIXME XXX NOTE | 27 syn keyword GnashTodo contained TODO FIXME XXX NOTE |
21 | 28 |
22 " Comments | 29 " Comments |
23 syn match GnashComment "^#.*$" contains=GnashTodo | 30 syn match GnashComment "^#.*$" contains=@Spell,GnashTodo |
24 syn match GnashComment "\s#.*$" contains=GnashTodo | 31 syn match GnashComment "\s#.*$" contains=@Spell,GnashTodo |
25 | 32 |
26 syn match GnashNumber display '\<\d\+\>' | 33 syn match GnashNumber display '\<\d\+\>' |
27 | 34 |
28 syn case ignore | 35 syn case ignore |
29 syn keyword GnashOn ON YES TRUE | 36 syn keyword GnashOn ON YES TRUE |
82 | 89 |
83 hi def link GnashOn Identifier | 90 hi def link GnashOn Identifier |
84 hi def link GnashOff Preproc | 91 hi def link GnashOff Preproc |
85 hi def link GnashComment Comment | 92 hi def link GnashComment Comment |
86 hi def link GnashTodo Todo | 93 hi def link GnashTodo Todo |
87 hi def link GnashString String | |
88 hi def link GnashNumber Type | 94 hi def link GnashNumber Type |
89 hi def link GnashSet String | 95 hi def link GnashSet String |
90 hi def link GnashKeyword Keyword | 96 hi def link GnashKeyword Keyword |
91 | 97 |
92 let b:current_syntax = "gnash" | 98 let b:current_syntax = "gnash" |