Skip to content

Commit

Permalink
add typescriptreact support for yats.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed May 8, 2018
1 parent b34882b commit c0ff2a4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions after/syntax/typescript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ if ! exists('b:current_syntax') || b:current_syntax !=# 'typescript'
endif

hi! link typescriptArrayMethod DraculaCyan
hi! link typescriptArrowFunc Operator
hi! link typescriptArrowFuncArg DraculaOrangeItalic
hi! link typescriptAssign Operator
hi! link typescriptBinaryOp Operator
Expand Down
10 changes: 10 additions & 0 deletions after/syntax/typescriptreact.vim
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion colors/dracula.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
" Dracula Theme: v1.4.0 {{{
" Dracula Theme: v1.5.0 {{{
"
" https://github.com/zenorocha/dracula-theme
"
Expand Down
2 changes: 1 addition & 1 deletion doc/dracula.txt
Original file line number Diff line number Diff line change
@@ -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*

|\ ,, ~
Expand Down

0 comments on commit c0ff2a4

Please sign in to comment.