10932ddaaf
* Initial work supporting maxmellon/vim-jsx-pretty * adding purple for variable declarations * feat: vim-jsx-pretty syntax support javascript/javascriptreact * feat: allow typescript.tsx in typescript.vim * feat: support vim-jsx-pretty in .tsx/typescriptreact * fix: remove changes outside scope * fix: return yats to original * feat: update vim-jsx-pretty support to match expected colors Co-authored-by: Guillermo Velasquez <guillermo.velasquez@gmail.com>
37 lines
1.1 KiB
VimL
37 lines
1.1 KiB
VimL
if dracula#should_abort('javascript', 'javascriptreact', 'javascript.jsx')
|
|
finish
|
|
endif
|
|
|
|
hi! link javaScriptBraces Delimiter
|
|
hi! link javaScriptNumber Constant
|
|
hi! link javaScriptNull Constant
|
|
hi! link javaScriptFunction Keyword
|
|
|
|
" pangloss/vim-javascript {{{
|
|
|
|
hi! link jsArrowFunction Operator
|
|
hi! link jsClassMethodType Keyword
|
|
hi! link jsDestructuringAssignment DraculaOrangeItalic
|
|
hi! link jsDocParam DraculaOrangeItalic
|
|
hi! link jsDocTags Keyword
|
|
hi! link jsDocType Type
|
|
hi! link jsDocTypeBrackets DraculaCyan
|
|
hi! link jsFuncArgOperator Operator
|
|
hi! link jsFunction Keyword
|
|
hi! link jsTemplateBraces Special
|
|
|
|
"}}}
|
|
|
|
" maxmellon/vim-jsx-pretty {{{
|
|
|
|
hi! link jsxTag Keyword
|
|
hi! link jsxTagName Keyword
|
|
hi! link jsxComponentName Type
|
|
hi! link jsxCloseTag Type
|
|
hi! link jsxAttrib DraculaGreenItalic
|
|
hi! link jsxCloseString Identifier
|
|
hi! link jsxOpenPunct Identifier
|
|
|
|
" }}}
|
|
|
|
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|