Ecma: increase priority of template_substitution

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1688
This commit is contained in:
Santos Gallegos 2021-08-13 13:24:52 -05:00 committed by Stephan Seitz
parent b7cdd739e4
commit 8b7f70d366

View file

@ -179,9 +179,9 @@
"{" @punctuation.bracket
"}" @punctuation.bracket
(template_substitution
"${" @punctuation.special
"}" @punctuation.special) @none
((template_substitution ["${" "}"] @punctuation.special) @none
; Substitutions should have a higher priority than injections.
(#set! "priority" 105))
; Keywords
;----------