Mercurial > vim
comparison runtime/syntax/sas.vim @ 10051:46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 22:22:10 2016 +0200
Updated runtime files. Remove HiLink commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Aug 2016 22:30:08 +0200 |
parents | 43efa4f5a8ea |
children | 214f228718cf |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
39 syn region sasComment start=";\s*\*"hs=s+1 end=";" contains=sasTodo | 39 syn region sasComment start=";\s*\*"hs=s+1 end=";" contains=sasTodo |
40 | 40 |
41 " Comments with * starting after a semicolon (Paulo Tanimoto) | 41 " Comments with * starting after a semicolon (Paulo Tanimoto) |
42 syn region sasComment start="^\s*\*" end=";" contains=sasTodo | 42 syn region sasComment start="^\s*\*" end=";" contains=sasTodo |
43 | 43 |
44 " This line defines macro variables in code. HiLink at end of file | 44 " This line defines macro variables in code. "hi def link" at end of file |
45 " defines the color scheme. Begin region with ampersand and end with | 45 " defines the color scheme. Begin region with ampersand and end with |
46 " any non-word character offset by -1; put ampersand in the skip list | 46 " any non-word character offset by -1; put ampersand in the skip list |
47 " just in case it is used to concatenate macro variable values. | 47 " just in case it is used to concatenate macro variable values. |
48 | 48 |
49 " Thanks to ronald höllwarth for this fix to an intra-versioning | 49 " Thanks to ronald höllwarth for this fix to an intra-versioning |
211 " End of SAS Functions | 211 " End of SAS Functions |
212 | 212 |
213 " Define the default highlighting. | 213 " Define the default highlighting. |
214 " Only when an item doesn't have highlighting yet | 214 " Only when an item doesn't have highlighting yet |
215 | 215 |
216 command -nargs=+ HiLink hi def link <args> | |
217 | 216 |
218 " Default sas enhanced editor color syntax | 217 " Default sas enhanced editor color syntax |
219 hi sComment term=bold cterm=NONE ctermfg=Green ctermbg=Black gui=NONE guifg=DarkGreen guibg=White | 218 hi sComment term=bold cterm=NONE ctermfg=Green ctermbg=Black gui=NONE guifg=DarkGreen guibg=White |
220 hi sCard term=bold cterm=NONE ctermfg=Black ctermbg=Yellow gui=NONE guifg=Black guibg=LightYellow | 219 hi sCard term=bold cterm=NONE ctermfg=Black ctermbg=Yellow gui=NONE guifg=Black guibg=LightYellow |
221 hi sDate_Time term=NONE cterm=bold ctermfg=Green ctermbg=Black gui=bold guifg=SeaGreen guibg=White | 220 hi sDate_Time term=NONE cterm=bold ctermfg=Green ctermbg=Black gui=bold guifg=SeaGreen guibg=White |
238 hi lNote term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black gui=none guifg=Blue guibg=White | 237 hi lNote term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black gui=none guifg=Blue guibg=White |
239 | 238 |
240 | 239 |
241 " Special hilighting for the SAS proc section | 240 " Special hilighting for the SAS proc section |
242 | 241 |
243 HiLink sasComment sComment | 242 hi def link sasComment sComment |
244 HiLink sasConditional sKeyword | 243 hi def link sasConditional sKeyword |
245 HiLink sasStep sSection | 244 hi def link sasStep sSection |
246 HiLink sasFunction sKeyword | 245 hi def link sasFunction sKeyword |
247 HiLink sasMacro mKeyword | 246 hi def link sasMacro mKeyword |
248 HiLink sasMacroVar NonText | 247 hi def link sasMacroVar NonText |
249 HiLink sasNumber sNumber | 248 hi def link sasNumber sNumber |
250 HiLink sasStatement sKeyword | 249 hi def link sasStatement sKeyword |
251 HiLink sasString sString | 250 hi def link sasString sString |
252 HiLink sasProc sProc | 251 hi def link sasProc sProc |
253 " (Bob Heckel) | 252 " (Bob Heckel) |
254 HiLink sasTodo Todo | 253 hi def link sasTodo Todo |
255 HiLink sasErrMsg lError | 254 hi def link sasErrMsg lError |
256 HiLink sasWarnMsg lWarning | 255 hi def link sasWarnMsg lWarning |
257 HiLink sasLogMsg lNote | 256 hi def link sasLogMsg lNote |
258 HiLink sasCards sCard | 257 hi def link sasCards sCard |
259 " (Bob Heckel) | 258 " (Bob Heckel) |
260 HiLink sasUnderscore PreProc | 259 hi def link sasUnderscore PreProc |
261 delcommand HiLink | |
262 | 260 |
263 " Syncronize from beginning to keep large blocks from losing | 261 " Syncronize from beginning to keep large blocks from losing |
264 " syntax coloring while moving through code. | 262 " syntax coloring while moving through code. |
265 syn sync fromstart | 263 syn sync fromstart |
266 | 264 |