From f37506f60f87d52a9e8850e30067645e2b13783c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 31 Aug 2016 22:22:10 +0200 Subject: Updated runtime files. Remove HiLink commands. --- runtime/syntax/json.vim | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'runtime/syntax/json.vim') diff --git a/runtime/syntax/json.vim b/runtime/syntax/json.vim index 34c26d37d..d80af8431 100644 --- a/runtime/syntax/json.vim +++ b/runtime/syntax/json.vim @@ -93,30 +93,28 @@ syn region jsonFold matchgroup=jsonBraces start="\[" end=/]\(\_s\+\ze"\)\@!/ tr " Define the default highlighting. " Only when an item doesn't have highlighting yet -command -nargs=+ HiLink hi def link -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' -- cgit v1.2.1