Mercurial > vim
diff runtime/syntax/json.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 | b9bc47742df6 |
line wrap: on
line diff
--- a/runtime/syntax/json.vim +++ b/runtime/syntax/json.vim @@ -93,30 +93,28 @@ syn region jsonFold matchgroup=jsonBrac " Define the default highlighting. " Only when an item doesn't have highlighting yet -command -nargs=+ HiLink hi def link <args> -HiLink jsonPadding Operator -HiLink jsonString String -HiLink jsonTest Label -HiLink jsonEscape Special -HiLink jsonNumber Number -HiLink jsonBraces Delimiter -HiLink jsonNull Function -HiLink jsonBoolean Boolean -HiLink jsonKeyword Label +hi def link jsonPadding Operator +hi def link jsonString String +hi def link jsonTest Label +hi def link jsonEscape Special +hi def link jsonNumber Number +hi def link jsonBraces Delimiter +hi def link jsonNull Function +hi def link jsonBoolean Boolean +hi def link jsonKeyword Label if (!exists("g:vim_json_warnings") || g:vim_json_warnings==1) -HiLink jsonNumError Error -HiLink jsonCommentError Error -HiLink jsonSemicolonError Error -HiLink jsonTrailingCommaError Error -HiLink jsonMissingCommaError Error -HiLink jsonStringSQError Error -HiLink jsonNoQuotesError Error -HiLink jsonTripleQuotesError Error +hi def link jsonNumError Error +hi def link jsonCommentError Error +hi def link jsonSemicolonError Error +hi def link jsonTrailingCommaError Error +hi def link jsonMissingCommaError Error +hi def link jsonStringSQError Error +hi def link jsonNoQuotesError Error +hi def link jsonTripleQuotesError Error endif -HiLink jsonQuote Quote -HiLink jsonNoise Noise -delcommand HiLink +hi def link jsonQuote Quote +hi def link jsonNoise Noise let b:current_syntax = "json" if main_syntax == 'json'