comparison runtime/syntax/iss.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 410fa1a31baf
children 46763b01cd9a
comparison
equal deleted inserted replaced
10047:a62862410ca1 10048:43efa4f5a8ea
7 " Todo: 7 " Todo:
8 " - The paramter String: is matched as flag string (because of case ignore). 8 " - The paramter String: is matched as flag string (because of case ignore).
9 " - Pascal scripting syntax is not recognized. 9 " - Pascal scripting syntax is not recognized.
10 " - Embedded double quotes confuse string matches. e.g. "asfd""asfa" 10 " - Embedded double quotes confuse string matches. e.g. "asfd""asfa"
11 11
12 " For version 5.x: Clear all syntax items 12 " quit when a syntax file was already loaded
13 " For version 6.x: Quit when a syntax file was already loaded 13 if exists("b:current_syntax")
14 if version < 600
15 syntax clear
16 elseif exists("b:current_syntax")
17 finish 14 finish
18 endif 15 endif
19 16
20 " shut case off 17 " shut case off
21 syn case ignore 18 syn case ignore
103 " [Tasks] 100 " [Tasks]
104 syn keyword issTasksFlags checkedonce dontinheritcheck exclusive restart unchecked 101 syn keyword issTasksFlags checkedonce dontinheritcheck exclusive restart unchecked
105 102
106 103
107 " Define the default highlighting. 104 " Define the default highlighting.
108 " For version 5.7 and earlier: only when not done already 105 " Only when an item doesn't have highlighting yet
109 " For version 5.8 and later: only when an item doesn't have highlighting yet 106 command -nargs=+ HiLink hi def link <args>
110 if version >= 508 || !exists("did_iss_syntax_inits")
111 if version < 508
112 let did_iss_syntax_inits = 1
113 command -nargs=+ HiLink hi link <args>
114 else
115 command -nargs=+ HiLink hi def link <args>
116 endif
117 107
118 " The default methods for highlighting. Can be overridden later 108 " The default methods for highlighting. Can be overridden later
119 HiLink issSection Special 109 HiLink issSection Special
120 HiLink issComment Comment 110 HiLink issComment Comment
121 HiLink issDirective Type 111 HiLink issDirective Type
122 HiLink issParam Type 112 HiLink issParam Type
123 HiLink issFolder Special 113 HiLink issFolder Special
124 HiLink issString String 114 HiLink issString String
125 HiLink issURL Include 115 HiLink issURL Include
126 HiLink issPreProc PreProc 116 HiLink issPreProc PreProc
127 117
128 HiLink issDirsFlags Keyword 118 HiLink issDirsFlags Keyword
129 HiLink issFilesCopyMode Keyword 119 HiLink issFilesCopyMode Keyword
130 HiLink issFilesAttribs Keyword 120 HiLink issFilesAttribs Keyword
131 HiLink issFilesPermissions Keyword 121 HiLink issFilesPermissions Keyword
132 HiLink issFilesFlags Keyword 122 HiLink issFilesFlags Keyword
133 HiLink issIconsFlags Keyword 123 HiLink issIconsFlags Keyword
134 HiLink issINIFlags Keyword 124 HiLink issINIFlags Keyword
135 HiLink issRegRootKey Keyword 125 HiLink issRegRootKey Keyword
136 HiLink issRegValueType Keyword 126 HiLink issRegValueType Keyword
137 HiLink issRegFlags Keyword 127 HiLink issRegFlags Keyword
138 HiLink issRunFlags Keyword 128 HiLink issRunFlags Keyword
139 HiLink issTypesFlags Keyword 129 HiLink issTypesFlags Keyword
140 HiLink issComponentsFlags Keyword 130 HiLink issComponentsFlags Keyword
141 HiLink issInstallDeleteType Keyword 131 HiLink issInstallDeleteType Keyword
142 HiLink issTasksFlags Keyword 132 HiLink issTasksFlags Keyword
143 133
144 delcommand HiLink 134 delcommand HiLink
145 endif
146 135
147 let b:current_syntax = "iss" 136 let b:current_syntax = "iss"
148 137
149 " vim:ts=8 138 " vim:ts=8