File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ syntax case match
8888" " Syntax in the JavaScript code
8989syntax match jsFuncCall / \k\+\% (\s *(\)\@ =/
9090syntax match jsSpecial " \v\\ %(0|\\ x\x\{ 2\}\|\\ u\x\{ 4\}\|\c [A-Z]|.)" contained
91- syntax region jsTemplateVar matchgroup =jsBraces start =+ ${+ end =+ }+ contained contains =@jsExpression
91+ syntax region jsTemplateVar matchgroup =jsTemplateBraces start =+ ${+ end =+ }+ contained contains =@jsExpression
9292syntax region jsStringD start =+ "+ skip =+ \\\( "\| $\) + end =+ "\| $+ contains =jsSpecial,@htmlPreproc,@Spell
9393syntax region jsStringS start =+ '+ skip =+ \\\( '\| $\) + end =+ '\| $+ contains =jsSpecial,@htmlPreproc,@Spell
9494syntax region jsTemplateString start =+ `+ skip =+ \\\( `\| $\) + end =+ `+ contains =jsTemplateVar,jsSpecial,@htmlPreproc
@@ -308,6 +308,7 @@ if version >= 508 || !exists("did_javascript_syn_inits")
308308 HiLink jsClassNoise Noise
309309 HiLink jsSpecial Special
310310 HiLink jsTemplateVar Special
311+ HiLink jsTemplateBraces jsBraces
311312 HiLink jsGlobalObjects Special
312313 HiLink jsExceptions Special
313314 HiLink jsFutureKeys Special
You can’t perform that action at this time.
0 commit comments