mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(d): don't use string_literals
string_literals is not used in single argument template instances. The
nodes are from [1].
[1]: c2fbf21bd3/grammar.js (L536)
This commit is contained in:
parent
272666ab95
commit
6cefdf3bab
1 changed files with 8 additions and 4 deletions
|
|
@ -34,10 +34,14 @@
|
|||
"__PRETTY_FUNCTION__"
|
||||
] @constant.macro
|
||||
|
||||
(string_literals) @string
|
||||
|
||||
; Don't highlight token strings as strings
|
||||
(token_string_tokens) @none
|
||||
[
|
||||
(wysiwyg_string)
|
||||
(alternate_wysiwyg_string)
|
||||
(double_quoted_string)
|
||||
(hex_string)
|
||||
(delimited_string)
|
||||
(token_string)
|
||||
] @string
|
||||
|
||||
(character_literal) @character
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue