aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/typescriptcommon.vim
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-10-05 14:12:16 +0200
committerGitHub <noreply@github.com>2021-10-05 14:12:16 +0200
commit0c2a7aa5f75502364a884eb25787d7774033f817 (patch)
treeb9e0b64b0b64626e6dcab4703550aeb1c0afa88a /runtime/syntax/typescriptcommon.vim
parent0a7a215aa6bac6e5569d47a3ad5f496d64397f8e (diff)
downloadrneovim-0c2a7aa5f75502364a884eb25787d7774033f817.tar.gz
rneovim-0c2a7aa5f75502364a884eb25787d7774033f817.tar.bz2
rneovim-0c2a7aa5f75502364a884eb25787d7774033f817.zip
vim-patch:6e649224926b (#15911)
Update runtime files https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0
Diffstat (limited to 'runtime/syntax/typescriptcommon.vim')
-rw-r--r--runtime/syntax/typescriptcommon.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/syntax/typescriptcommon.vim b/runtime/syntax/typescriptcommon.vim
index 4074f04a35..ef362fc721 100644
--- a/runtime/syntax/typescriptcommon.vim
+++ b/runtime/syntax/typescriptcommon.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: TypeScript and TypeScriptReact
" Maintainer: Bram Moolenaar, Herrington Darkholme
-" Last Change: 2020 Oct 27
+" Last Change: 2021 Sep 22
" Based On: Herrington Darkholme's yats.vim
" Changes: See https:github.com/HerringtonDarkholme/yats.vim
" Credits: See yats.vim on github
@@ -625,7 +625,8 @@ syntax keyword typescriptReadonlyArrayKeyword readonly
" extension
if get(g:, 'yats_host_keyword', 1)
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean
- syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError
+ " use of nextgroup Suggested by Doug Kearns
+ syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError nextgroup=typescriptFuncCallArg
syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError
syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration