changeset 32990:5f7f573b76d0

runtime(typescript): Fix highlighting symbols after number literal (#12911) Commit: https://github.com/vim/vim/commit/535b9e12d02f5fef969fb680d579c586bd5f40db Author: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sat Aug 26 09:01:47 2023 -0700 runtime(typescript): Fix highlighting symbols after number literal (https://github.com/vim/vim/issues/12911) fixes https://github.com/vim/vim/issues/12831 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 26 Aug 2023 18:15:04 +0200
parents 1afe5905b8b7
children 0bdb1f8a17c1
files runtime/syntax/shared/typescriptcommon.vim
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/syntax/shared/typescriptcommon.vim
+++ b/runtime/syntax/shared/typescriptcommon.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:     TypeScript and TypeScriptReact
 " Maintainer:   Herrington Darkholme
-" Last Change:	2023 Aug 13
+" Last Change:	2023 Aug 24
 " Based On:     Herrington Darkholme's yats.vim
 " Changes:      See https://github.com/HerringtonDarkholme/yats.vim
 " Credits:      See yats.vim on github
@@ -149,7 +149,7 @@ syntax match typescriptNumber /\<0[bB][0
 syntax match typescriptNumber /\<0[oO][0-7][0-7_]*\>/       nextgroup=@typescriptSymbols skipwhite skipempty
 syntax match typescriptNumber /\<0[xX][0-9a-fA-F][0-9a-fA-F_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
 syntax match typescriptNumber /\<\%(\d[0-9_]*\%(\.\d[0-9_]*\)\=\|\.\d[0-9_]*\)\%([eE][+-]\=\d[0-9_]*\)\=\>/
-  \ nextgroup=typescriptSymbols skipwhite skipempty
+  \ nextgroup=@typescriptSymbols skipwhite skipempty
 
 syntax region  typescriptObjectLiteral         matchgroup=typescriptBraces
   \ start=/{/ end=/}/