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:
Derek Sifford 2019-10-21 10:38:18 -04:00 committed by GitHub
parent f6dd7c17f7
commit c8c0a93254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -1,7 +1,9 @@
if dracula#should_abort('typescript')
if dracula#should_abort('typescript', 'typescriptreact')
finish
endif
" HerringtonDarkholme/yats.vim {{{
hi! link typescriptAliasDeclaration Type
hi! link typescriptArrayMethod Function
hi! link typescriptArrowFunc Operator
@ -47,7 +49,9 @@ hi! link typescriptRestOrSpread Operator
hi! link typescriptTernaryOp Operator
hi! link typescriptTypeAnnotation Special
hi! link typescriptTypeCast Operator
hi! link typescriptTypeReference Type
hi! link typescriptTypeParameter DraculaOrangeItalic
hi! link typescriptTypeReference Type
hi! link typescriptUnaryOp Operator
hi! link typescriptVariable Keyword
" }}}

View file

@ -1,4 +1,4 @@
if dracula#should_abort('typescript.tsx')
if dracula#should_abort('typescriptreact')
finish
endif