Mercurial > vim
comparison runtime/syntax/webmacro.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 | c58baa6d6dda |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
43 syn match webmacroComment "##.*$" | 43 syn match webmacroComment "##.*$" |
44 syn match webmacroHash "[#{}\$]" contained | 44 syn match webmacroHash "[#{}\$]" contained |
45 | 45 |
46 " Define the default highlighting. | 46 " Define the default highlighting. |
47 " Only when an item doesn't have highlighting yet | 47 " Only when an item doesn't have highlighting yet |
48 command -nargs=+ HiLink hi def link <args> | |
49 | 48 |
50 HiLink webmacroComment CommentTitle | 49 hi def link webmacroComment CommentTitle |
51 HiLink webmacroVariable PreProc | 50 hi def link webmacroVariable PreProc |
52 HiLink webmacroIf webmacroStatement | 51 hi def link webmacroIf webmacroStatement |
53 HiLink webmacroForeach webmacroStatement | 52 hi def link webmacroForeach webmacroStatement |
54 HiLink webmacroSet webmacroStatement | 53 hi def link webmacroSet webmacroStatement |
55 HiLink webmacroInclude webmacroStatement | 54 hi def link webmacroInclude webmacroStatement |
56 HiLink webmacroParse webmacroStatement | 55 hi def link webmacroParse webmacroStatement |
57 HiLink webmacroStatement Function | 56 hi def link webmacroStatement Function |
58 HiLink webmacroNumber Number | 57 hi def link webmacroNumber Number |
59 HiLink webmacroBoolean Boolean | 58 hi def link webmacroBoolean Boolean |
60 HiLink webmacroSpecial Special | 59 hi def link webmacroSpecial Special |
61 HiLink webmacroString String | 60 hi def link webmacroString String |
62 HiLink webmacroBracesError Error | 61 hi def link webmacroBracesError Error |
63 delcommand HiLink | |
64 | 62 |
65 let b:current_syntax = "webmacro" | 63 let b:current_syntax = "webmacro" |
66 | 64 |
67 if main_syntax == 'webmacro' | 65 if main_syntax == 'webmacro' |
68 unlet main_syntax | 66 unlet main_syntax |