diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 12:21:37 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 12:21:37 +0100 |
commit | 7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 (patch) | |
tree | 5c2b955af8e0f2ed54442d9e938fad403148ffce /syntax/basic/literal.vim | |
parent | 15aeea662e0b08088ac7b6e3ee661c834e69106a (diff) | |
download | vim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.tar.gz vim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.zip |
Updatev4.1.2
Diffstat (limited to 'syntax/basic/literal.vim')
-rw-r--r-- | syntax/basic/literal.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/basic/literal.vim b/syntax/basic/literal.vim index 533b228a..1f4fb854 100644 --- a/syntax/basic/literal.vim +++ b/syntax/basic/literal.vim @@ -16,7 +16,7 @@ syntax region typescriptString \ contains=typescriptSpecial,@Spell \ extend -syntax match typescriptSpecial contained "\v\\%(x\x\x|u%(\x{4}|\{\x{4,5}})|c\u|.)" +syntax match typescriptSpecial contained "\v\\%(x\x\x|u%(\x{4}|\{\x{1,6}})|c\u|.)" " From vim runtime " <https://github.com/vim/vim/blob/master/runtime/syntax/javascript.vim#L48> @@ -24,7 +24,7 @@ syntax region typescriptRegexpString start=+/[^/*]+me=e-1 skip=+\\\\\| syntax region typescriptTemplate \ start=/`/ skip=/\\\\\|\\`\|\n/ end=/`\|$/ - \ contains=typescriptTemplateSubstitution + \ contains=typescriptTemplateSubstitution,typescriptSpecial,@Spell \ nextgroup=@typescriptSymbols \ skipwhite skipempty |