diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 |
commit | d15651463ab5c3dd6609e548527a8ea18ab80c98 (patch) | |
tree | d148d7d3f48beefe0d1b7864355ff54ea6b55f50 /syntax/basic/symbols.vim | |
parent | 0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (diff) | |
download | vim-polyglot-4.1.1.tar.gz vim-polyglot-4.1.1.zip |
Updatev4.1.1
Diffstat (limited to 'syntax/basic/symbols.vim')
-rw-r--r-- | syntax/basic/symbols.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/basic/symbols.vim b/syntax/basic/symbols.vim index 5728316a..c4c025ac 100644 --- a/syntax/basic/symbols.vim +++ b/syntax/basic/symbols.vim @@ -5,7 +5,7 @@ syntax match typescriptUnaryOp /[+\-~!]/ \ nextgroup=@typescriptValue \ skipwhite -syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty +syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?[.?]\@!/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty syntax match typescriptAssign /=/ nextgroup=@typescriptValue \ skipwhite skipempty |