Skip to content

Commit c0ff2a4

Browse files
committed
add typescriptreact support for yats.vim
1 parent b34882b commit c0ff2a4

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

after/syntax/typescript.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ if ! exists('b:current_syntax') || b:current_syntax !=# 'typescript'
33
endif
44

55
hi! link typescriptArrayMethod DraculaCyan
6+
hi! link typescriptArrowFunc Operator
67
hi! link typescriptArrowFuncArg DraculaOrangeItalic
78
hi! link typescriptAssign Operator
89
hi! link typescriptBinaryOp Operator

after/syntax/typescriptreact.vim

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
if ! exists('b:current_syntax') || b:current_syntax !=# 'typescriptreact'
2+
finish
3+
endif
4+
5+
runtime syntax/typescript.vim
6+
7+
hi! link jsxTag Keyword
8+
hi! link jsxCloseTag jsxTag
9+
hi! link jsxCloseString jsxTag
10+
hi! link jsxAttrib DraculaGreenItalic

colors/dracula.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
" Dracula Theme: v1.4.0 {{{
1+
" Dracula Theme: v1.5.0 {{{
22
"
33
" https://github.com/zenorocha/dracula-theme
44
"

doc/dracula.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*dracula.txt* For Vim version 8 Last change: 2018 April 02
1+
*dracula.txt* For Vim version 8 Last change: 2018 May 08
22
*dracula* *vim-dracula*
33

44
|\ ,, ~

0 commit comments

Comments
 (0)