fix: move back to "typescriptreact" from "typescript.tsx" filetype (#153)
* fix: move back to "typescriptreact" from "typescript.tsx" filetype
This change is in accordance to the now official filetype defined by vim itself.
See: 92852cee3f
* add typescriptreact to should_abort call in typescript ftplugin
This commit is contained in:
parent
f6dd7c17f7
commit
c8c0a93254
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
||||||
if dracula#should_abort('typescript')
|
if dracula#should_abort('typescript', 'typescriptreact')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" HerringtonDarkholme/yats.vim {{{
|
||||||
|
|
||||||
hi! link typescriptAliasDeclaration Type
|
hi! link typescriptAliasDeclaration Type
|
||||||
hi! link typescriptArrayMethod Function
|
hi! link typescriptArrayMethod Function
|
||||||
hi! link typescriptArrowFunc Operator
|
hi! link typescriptArrowFunc Operator
|
||||||
|
@ -47,7 +49,9 @@ hi! link typescriptRestOrSpread Operator
|
||||||
hi! link typescriptTernaryOp Operator
|
hi! link typescriptTernaryOp Operator
|
||||||
hi! link typescriptTypeAnnotation Special
|
hi! link typescriptTypeAnnotation Special
|
||||||
hi! link typescriptTypeCast Operator
|
hi! link typescriptTypeCast Operator
|
||||||
hi! link typescriptTypeReference Type
|
|
||||||
hi! link typescriptTypeParameter DraculaOrangeItalic
|
hi! link typescriptTypeParameter DraculaOrangeItalic
|
||||||
|
hi! link typescriptTypeReference Type
|
||||||
hi! link typescriptUnaryOp Operator
|
hi! link typescriptUnaryOp Operator
|
||||||
hi! link typescriptVariable Keyword
|
hi! link typescriptVariable Keyword
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
if dracula#should_abort('typescript.tsx')
|
if dracula#should_abort('typescriptreact')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue