Mercurial > vim
comparison runtime/syntax/inittab.vim @ 10048:43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 23:26:57 2016 +0200
Updated runtime files. Remove version checks for Vim older than 6.0.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Aug 2016 23:30:09 +0200 |
parents | 3fc0f57ecb91 |
children | 46763b01cd9a |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | 4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> |
5 " Last Change: 2002-09-13 | 5 " Last Change: 2002-09-13 |
6 " URL: http://physics.muni.cz/~yeti/download/syntax/inittab.vim | 6 " URL: http://physics.muni.cz/~yeti/download/syntax/inittab.vim |
7 | 7 |
8 " Setup | 8 " Setup |
9 if version >= 600 | 9 " quit when a syntax file was already loaded |
10 if exists("b:current_syntax") | 10 if exists("b:current_syntax") |
11 finish | 11 finish |
12 endif | |
13 else | |
14 syntax clear | |
15 endif | 12 endif |
16 | 13 |
17 syn case match | 14 syn case match |
18 | 15 |
19 " Base constructs | 16 " Base constructs |
43 syn match inittabColonProcess ":" contained nextgroup=inittabProcessPlus,inittabProcess,inittabError | 40 syn match inittabColonProcess ":" contained nextgroup=inittabProcessPlus,inittabProcess,inittabError |
44 syn match inittabProcessPlus "+" contained nextgroup=inittabProcess,inittabError | 41 syn match inittabProcessPlus "+" contained nextgroup=inittabProcess,inittabError |
45 syn region inittabProcess start="/" end="$" transparent oneline contained contains=@inittabSh,inittabComment | 42 syn region inittabProcess start="/" end="$" transparent oneline contained contains=@inittabSh,inittabComment |
46 | 43 |
47 " Define the default highlighting | 44 " Define the default highlighting |
48 if version >= 508 || !exists("did_inittab_syntax_inits") | 45 command -nargs=+ HiLink hi def link <args> |
49 if version < 508 | |
50 let did_inittab_syntax_inits = 1 | |
51 command -nargs=+ HiLink hi link <args> | |
52 else | |
53 command -nargs=+ HiLink hi def link <args> | |
54 endif | |
55 | 46 |
56 HiLink inittabComment Comment | 47 HiLink inittabComment Comment |
57 HiLink inittabFixme Todo | 48 HiLink inittabFixme Todo |
58 HiLink inittabActionName Type | 49 HiLink inittabActionName Type |
59 HiLink inittabError Error | 50 HiLink inittabError Error |
60 HiLink inittabId Identifier | 51 HiLink inittabId Identifier |
61 HiLink inittabRunLevels Special | 52 HiLink inittabRunLevels Special |
62 | 53 |
63 HiLink inittabColonProcess inittabColon | 54 HiLink inittabColonProcess inittabColon |
64 HiLink inittabColonAction inittabColon | 55 HiLink inittabColonAction inittabColon |
65 HiLink inittabColonRunLevels inittabColon | 56 HiLink inittabColonRunLevels inittabColon |
66 HiLink inittabColon PreProc | 57 HiLink inittabColon PreProc |
67 | 58 |
68 HiLink inittabShString String | 59 HiLink inittabShString String |
69 HiLink inittabShOption Special | 60 HiLink inittabShOption Special |
70 HiLink inittabShCommand Statement | 61 HiLink inittabShCommand Statement |
71 | 62 |
72 delcommand HiLink | 63 delcommand HiLink |
73 endif | |
74 | 64 |
75 let b:current_syntax = "inittab" | 65 let b:current_syntax = "inittab" |