summaryrefslogtreecommitdiffstats
path: root/syntax/basic/identifiers.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-11-15 17:27:14 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-11-15 17:27:14 +0100
commitd15651463ab5c3dd6609e548527a8ea18ab80c98 (patch)
treed148d7d3f48beefe0d1b7864355ff54ea6b55f50 /syntax/basic/identifiers.vim
parent0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (diff)
downloadvim-polyglot-d15651463ab5c3dd6609e548527a8ea18ab80c98.tar.gz
vim-polyglot-d15651463ab5c3dd6609e548527a8ea18ab80c98.zip
Updatev4.1.1
Diffstat (limited to 'syntax/basic/identifiers.vim')
-rw-r--r--syntax/basic/identifiers.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/basic/identifiers.vim b/syntax/basic/identifiers.vim
index 027fbde5..4ec713b7 100644
--- a/syntax/basic/identifiers.vim
+++ b/syntax/basic/identifiers.vim
@@ -22,7 +22,7 @@ syntax match typescriptProp contained /\K\k*!\?/
syntax region typescriptIndexExpr contained matchgroup=typescriptProperty start=/\[/rs=s+1 end=/]/he=e-1 contains=@typescriptValue nextgroup=@typescriptSymbols,typescriptDotNotation,typescriptFuncCallArg skipwhite skipempty
-syntax match typescriptDotNotation /\./ nextgroup=typescriptProp skipnl
+syntax match typescriptDotNotation /\.\|?\.\|!\./ nextgroup=typescriptProp skipnl
syntax match typescriptDotStyleNotation /\.style\./ nextgroup=typescriptDOMStyle transparent
" syntax match typescriptFuncCall contained /[a-zA-Z]\k*\ze(/ nextgroup=typescriptFuncCallArg
syntax region typescriptParenExp matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptComments,@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols skipwhite skipempty