Mercurial > vim
comparison runtime/syntax/pilrc.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 |
---|---|
2 " Language: pilrc - a resource compiler for Palm OS development | 2 " Language: pilrc - a resource compiler for Palm OS development |
3 " Maintainer: Brian Schau <brian@schau.com> | 3 " Maintainer: Brian Schau <brian@schau.com> |
4 " Last change: 2003 May 11 | 4 " Last change: 2003 May 11 |
5 " Available on: http://www.schau.com/pilrcvim/pilrc.vim | 5 " Available on: http://www.schau.com/pilrcvim/pilrc.vim |
6 | 6 |
7 " Remove any old syntax | 7 " quit when a syntax file was already loaded |
8 if version < 600 | 8 if exists("b:current_syntax") |
9 syn clear | |
10 elseif exists("b:current_syntax") | |
11 finish | 9 finish |
12 endif | 10 endif |
13 | 11 |
14 syn case ignore | 12 syn case ignore |
15 | 13 |
117 syn keyword pilrcInclude package | 115 syn keyword pilrcInclude package |
118 syn region pilrcInclude start="public class" end="}" | 116 syn region pilrcInclude start="public class" end="}" |
119 | 117 |
120 syn sync ccomment pilrcComment | 118 syn sync ccomment pilrcComment |
121 | 119 |
122 if version >= 508 || !exists("did_pilrc_syntax_inits") | 120 command -nargs=+ HiLink hi def link <args> |
123 if version < 508 | |
124 command -nargs=+ HiLink hi link <args> | |
125 else | |
126 command -nargs=+ HiLink hi def link <args> | |
127 endif | |
128 | 121 |
129 let did_pilrc_syntax_inits = 1 | 122 " The default methods for highlighting |
123 HiLink pilrcKeyword Statement | |
124 HiLink pilrcType Type | |
125 HiLink pilrcError Error | |
126 HiLink pilrcCountry SpecialChar | |
127 HiLink pilrcLanguage SpecialChar | |
128 HiLink pilrcString SpecialChar | |
129 HiLink pilrcNumber Number | |
130 HiLink pilrcComment Comment | |
131 HiLink pilrcConstant Constant | |
132 HiLink pilrcFunction Function | |
133 HiLink pilrcInclude SpecialChar | |
134 HiLink pilrcIdentifier Number | |
130 | 135 |
131 " The default methods for highlighting | 136 delcommand HiLink |
132 HiLink pilrcKeyword Statement | |
133 HiLink pilrcType Type | |
134 HiLink pilrcError Error | |
135 HiLink pilrcCountry SpecialChar | |
136 HiLink pilrcLanguage SpecialChar | |
137 HiLink pilrcString SpecialChar | |
138 HiLink pilrcNumber Number | |
139 HiLink pilrcComment Comment | |
140 HiLink pilrcConstant Constant | |
141 HiLink pilrcFunction Function | |
142 HiLink pilrcInclude SpecialChar | |
143 HiLink pilrcIdentifier Number | |
144 | |
145 delcommand HiLink | |
146 endif | |
147 | 137 |
148 let b:current_syntax = "pilrc" | 138 let b:current_syntax = "pilrc" |