add jsx definitions
This commit is contained in:
parent
d83f032366
commit
e4d82ef50e
|
@ -488,6 +488,10 @@
|
|||
[ "jsThis", "jsGlobalObjects" ],
|
||||
[ "jsArrowFunction", "Function" ],
|
||||
|
||||
# jsx
|
||||
[ "jsxTagName", "htmlTagName" ],
|
||||
[ "jsxComponentName", "htmlSpecialTagName" ],
|
||||
[ "jsxAttrib", "htmlArg" ],
|
||||
# python
|
||||
|
||||
[ "pythonBuiltin", "Type" ],
|
||||
|
|
|
@ -243,6 +243,9 @@ if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
|
|||
hi link jsOperatorKeyword Label
|
||||
hi link jsThis jsGlobalObjects
|
||||
hi link jsArrowFunction Function
|
||||
hi link jsxTagName htmlTagName
|
||||
hi link jsxComponentName htmlSpecialTagName
|
||||
hi link jsxAttrib htmlArg
|
||||
hi link pythonBuiltin Type
|
||||
hi link pythonBuiltinObj Special
|
||||
hi link pythonDottedName Identifier
|
||||
|
@ -608,6 +611,9 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
|
|||
hi link jsOperatorKeyword Label
|
||||
hi link jsThis jsGlobalObjects
|
||||
hi link jsArrowFunction Function
|
||||
hi link jsxTagName htmlTagName
|
||||
hi link jsxComponentName htmlSpecialTagName
|
||||
hi link jsxAttrib htmlArg
|
||||
hi link pythonBuiltin Type
|
||||
hi link pythonBuiltinObj Special
|
||||
hi link pythonDottedName Identifier
|
||||
|
|
Loading…
Reference in New Issue