From d15651463ab5c3dd6609e548527a8ea18ab80c98 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 15 Nov 2019 17:27:14 +0100 Subject: Update --- syntax/basic/symbols.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax/basic/symbols.vim') 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 -- cgit v1.2.3