add typescriptreact support for yats.vim

This commit is contained in:
Derek P Sifford 2018-05-08 15:02:10 -04:00
parent b34882be6c
commit c0ff2a472a
4 changed files with 13 additions and 2 deletions

View file

@ -3,6 +3,7 @@ if ! exists('b:current_syntax') || b:current_syntax !=# 'typescript'
endif endif
hi! link typescriptArrayMethod DraculaCyan hi! link typescriptArrayMethod DraculaCyan
hi! link typescriptArrowFunc Operator
hi! link typescriptArrowFuncArg DraculaOrangeItalic hi! link typescriptArrowFuncArg DraculaOrangeItalic
hi! link typescriptAssign Operator hi! link typescriptAssign Operator
hi! link typescriptBinaryOp Operator hi! link typescriptBinaryOp Operator

View file

@ -0,0 +1,10 @@
if ! exists('b:current_syntax') || b:current_syntax !=# 'typescriptreact'
finish
endif
runtime syntax/typescript.vim
hi! link jsxTag Keyword
hi! link jsxCloseTag jsxTag
hi! link jsxCloseString jsxTag
hi! link jsxAttrib DraculaGreenItalic

View file

@ -1,4 +1,4 @@
" Dracula Theme: v1.4.0 {{{ " Dracula Theme: v1.5.0 {{{
" "
" https://github.com/zenorocha/dracula-theme " https://github.com/zenorocha/dracula-theme
" "

View file

@ -1,4 +1,4 @@
*dracula.txt* For Vim version 8 Last change: 2018 April 02 *dracula.txt* For Vim version 8 Last change: 2018 May 08
*dracula* *vim-dracula* *dracula* *vim-dracula*
|\ ,, ~ |\ ,, ~