summaryrefslogtreecommitdiffstats
path: root/syntax/basic/object.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
commit7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 (patch)
tree5c2b955af8e0f2ed54442d9e938fad403148ffce /syntax/basic/object.vim
parent15aeea662e0b08088ac7b6e3ee661c834e69106a (diff)
downloadvim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.tar.gz
vim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.zip
Updatev4.1.2
Diffstat (limited to 'syntax/basic/object.vim')
-rw-r--r--syntax/basic/object.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/syntax/basic/object.vim b/syntax/basic/object.vim
index a0d69c53..90c75a0a 100644
--- a/syntax/basic/object.vim
+++ b/syntax/basic/object.vim
@@ -2,9 +2,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') ==
syntax region typescriptObjectLiteral matchgroup=typescriptBraces
\ start=/{/ end=/}/
- \ contains=@typescriptComments,typescriptObjectLabel,typescriptStringProperty,typescriptComputedPropertyName
+ \ contains=@typescriptComments,typescriptObjectLabel,typescriptStringProperty,typescriptComputedPropertyName,typescriptObjectAsyncKeyword
\ fold contained
+syntax keyword typescriptObjectAsyncKeyword async contained
+
syntax match typescriptObjectLabel contained /\k\+\_s*/
\ nextgroup=typescriptObjectColon,@typescriptCallImpl
\ skipwhite skipempty