aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/shared/typescriptcommon.vim
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
commit931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch)
treed8c1843a95da5ea0bb4acc09f7e37843d9995c86 /runtime/syntax/shared/typescriptcommon.vim
parent142d9041391780ac15b89886a54015fdc5c73995 (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-userreg.tar.gz
rneovim-userreg.tar.bz2
rneovim-userreg.zip
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'runtime/syntax/shared/typescriptcommon.vim')
-rw-r--r--runtime/syntax/shared/typescriptcommon.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/syntax/shared/typescriptcommon.vim b/runtime/syntax/shared/typescriptcommon.vim
index ef362fc721..d06525115e 100644
--- a/runtime/syntax/shared/typescriptcommon.vim
+++ b/runtime/syntax/shared/typescriptcommon.vim
@@ -1,9 +1,9 @@
" Vim syntax file
" Language: TypeScript and TypeScriptReact
-" Maintainer: Bram Moolenaar, Herrington Darkholme
-" Last Change: 2021 Sep 22
+" Maintainer: Herrington Darkholme
+" Last Change: 2023 Aug 24
" Based On: Herrington Darkholme's yats.vim
-" Changes: See https:github.com/HerringtonDarkholme/yats.vim
+" Changes: See https://github.com/HerringtonDarkholme/yats.vim
" Credits: See yats.vim on github
if &cpo =~ 'C'
@@ -149,7 +149,7 @@ syntax match typescriptNumber /\<0[bB][01][01_]*\>/ nextgroup=@typescript
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=/}/