mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-24 12:31:25 -05:00
Fix up the javascript syntax
This commit is contained in:
parent
59408083ae
commit
c625fe2499
1 changed files with 14 additions and 6 deletions
|
@ -176,12 +176,20 @@ endfun
|
|||
call s:C("htmlTagName",g:cYellow,"","bold")
|
||||
|
||||
"javaScript
|
||||
hi! link javaScriptBraces Delimiter
|
||||
hi! link javaScriptParens Delimiter
|
||||
hi! link javaScriptValue Constant
|
||||
hi! link javascriptDomElemAttrs javaScriptSpecial
|
||||
hi! link javascriptDomElemFuncs javaScriptFunction
|
||||
hi! link javascriptHtmlEvents javaScriptSpecial
|
||||
call s:C("jsImport",g:cRed,"","bold")
|
||||
call s:C("jsModuleKeyword",g:cYellow,"","bold")
|
||||
call s:C("jsFrom",g:cRed,"","bold")
|
||||
call s:C("jsExport",g:cRed,"","bold")
|
||||
call s:C("jsFuncBlock",g:cBlue,"","")
|
||||
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
|
||||
autocmd BufEnter,FileType json hi! link Label Constant
|
||||
|
|
Loading…
Reference in a new issue