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>
57 lines
2.6 KiB
VimL
57 lines
2.6 KiB
VimL
if dracula#should_abort('typescript', 'typescriptreact', 'typescript.tsx')
|
|
finish
|
|
endif
|
|
|
|
" HerringtonDarkholme/yats.vim {{{
|
|
|
|
hi! link typescriptAliasDeclaration Type
|
|
hi! link typescriptArrayMethod Function
|
|
hi! link typescriptArrowFunc Operator
|
|
hi! link typescriptArrowFuncArg DraculaOrangeItalic
|
|
hi! link typescriptAssign Operator
|
|
hi! link typescriptBOMWindowProp Constant
|
|
hi! link typescriptBinaryOp Operator
|
|
hi! link typescriptBraces Delimiter
|
|
hi! link typescriptCall typescriptArrowFuncArg
|
|
hi! link typescriptClassHeritage Type
|
|
hi! link typescriptClassName Type
|
|
hi! link typescriptDateMethod DraculaCyan
|
|
hi! link typescriptDateStaticMethod Function
|
|
hi! link typescriptDecorator DraculaGreenItalic
|
|
hi! link typescriptDefaultParam Operator
|
|
hi! link typescriptES6SetMethod DraculaCyan
|
|
hi! link typescriptEndColons Delimiter
|
|
hi! link typescriptEnum Type
|
|
hi! link typescriptEnumKeyword Keyword
|
|
hi! link typescriptFuncComma Delimiter
|
|
hi! link typescriptFuncKeyword Keyword
|
|
hi! link typescriptFuncType DraculaOrangeItalic
|
|
hi! link typescriptFuncTypeArrow Operator
|
|
hi! link typescriptGlobal Type
|
|
hi! link typescriptGlobalMethod DraculaCyan
|
|
hi! link typescriptGlobalObjects Type
|
|
hi! link typescriptIdentifier DraculaPurpleItalic
|
|
hi! link typescriptInterfaceHeritage Type
|
|
hi! link typescriptInterfaceName Type
|
|
hi! link typescriptInterpolationDelimiter Keyword
|
|
hi! link typescriptKeywordOp Keyword
|
|
hi! link typescriptLogicSymbols Operator
|
|
hi! link typescriptMember Identifier
|
|
hi! link typescriptMemberOptionality Special
|
|
hi! link typescriptObjectColon Special
|
|
hi! link typescriptObjectLabel Identifier
|
|
hi! link typescriptObjectSpread Operator
|
|
hi! link typescriptOperator Operator
|
|
hi! link typescriptParamImpl DraculaOrangeItalic
|
|
hi! link typescriptParens Delimiter
|
|
hi! link typescriptPredefinedType Type
|
|
hi! link typescriptRestOrSpread Operator
|
|
hi! link typescriptTernaryOp Operator
|
|
hi! link typescriptTypeAnnotation Special
|
|
hi! link typescriptTypeCast Operator
|
|
hi! link typescriptTypeParameter DraculaOrangeItalic
|
|
hi! link typescriptTypeReference Type
|
|
hi! link typescriptUnaryOp Operator
|
|
hi! link typescriptVariable Keyword
|
|
|
|
" }}}
|