add jsx definitions

This commit is contained in:
Ray Elliott 2020-04-29 14:55:15 +01:00
parent d83f032366
commit e4d82ef50e
2 changed files with 10 additions and 0 deletions

View File

@ -488,6 +488,10 @@
[ "jsThis", "jsGlobalObjects" ], [ "jsThis", "jsGlobalObjects" ],
[ "jsArrowFunction", "Function" ], [ "jsArrowFunction", "Function" ],
# jsx
[ "jsxTagName", "htmlTagName" ],
[ "jsxComponentName", "htmlSpecialTagName" ],
[ "jsxAttrib", "htmlArg" ],
# python # python
[ "pythonBuiltin", "Type" ], [ "pythonBuiltin", "Type" ],

View File

@ -243,6 +243,9 @@ if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
hi link jsOperatorKeyword Label hi link jsOperatorKeyword Label
hi link jsThis jsGlobalObjects hi link jsThis jsGlobalObjects
hi link jsArrowFunction Function hi link jsArrowFunction Function
hi link jsxTagName htmlTagName
hi link jsxComponentName htmlSpecialTagName
hi link jsxAttrib htmlArg
hi link pythonBuiltin Type hi link pythonBuiltin Type
hi link pythonBuiltinObj Special hi link pythonBuiltinObj Special
hi link pythonDottedName Identifier hi link pythonDottedName Identifier
@ -608,6 +611,9 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
hi link jsOperatorKeyword Label hi link jsOperatorKeyword Label
hi link jsThis jsGlobalObjects hi link jsThis jsGlobalObjects
hi link jsArrowFunction Function hi link jsArrowFunction Function
hi link jsxTagName htmlTagName
hi link jsxComponentName htmlSpecialTagName
hi link jsxAttrib htmlArg
hi link pythonBuiltin Type hi link pythonBuiltin Type
hi link pythonBuiltinObj Special hi link pythonBuiltinObj Special
hi link pythonDottedName Identifier hi link pythonDottedName Identifier