Fix up the javascript syntax

This commit is contained in:
Kevin MacMartin 2024-01-30 16:12:19 -05:00
parent 59408083ae
commit c625fe2499

View file

@ -176,12 +176,20 @@ endfun
call s:C("htmlTagName",g:cYellow,"","bold") call s:C("htmlTagName",g:cYellow,"","bold")
"javaScript "javaScript
hi! link javaScriptBraces Delimiter call s:C("jsImport",g:cRed,"","bold")
hi! link javaScriptParens Delimiter call s:C("jsModuleKeyword",g:cYellow,"","bold")
hi! link javaScriptValue Constant call s:C("jsFrom",g:cRed,"","bold")
hi! link javascriptDomElemAttrs javaScriptSpecial call s:C("jsExport",g:cRed,"","bold")
hi! link javascriptDomElemFuncs javaScriptFunction call s:C("jsFuncBlock",g:cBlue,"","")
hi! link javascriptHtmlEvents javaScriptSpecial call s:C("jsObjectKey",g:cBlue,"","")
call s:C("jsObjectProp",g:cBlue,"","")
call s:C("jsBracket",g:cYellow,"","bold")
call s:C("jsReturn",g:cRed,"","bold")
hi! link jsBraces Delimiter
hi! link jsParens Delimiter
hi! link jsDomElemAttrs jsSpecial
hi! link jsDomElemFuncs jsFunction
hi! link jsHtmlEvents jsSpecial
"json "json
autocmd BufEnter,FileType json hi! link Label Constant autocmd BufEnter,FileType json hi! link Label Constant