You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't really understand how string are declared for the tree sitter lua parser, so is it possible to do the same thing as the c grammar with the current state of the lua grammar?
The text was updated successfully, but these errors were encountered:
Hello, The c tree sitter seems to declare escape_sequence in string
https://github.com/tree-sitter/tree-sitter-c/blob/f35789006ccbe5be8db21d1a2dd4cc0b5a1286f2/src/grammar.json#L6317
Which make it possible to add specific highlight for escaped sequence
https://github.com/nvim-treesitter/nvim-treesitter/blob/411e771d511442ab81670701f5c830f6c74aadd7/queries/c/highlights.scm#L109
I don't really understand how string are declared for the tree sitter lua parser, so is it possible to do the same thing as the c grammar with the current state of the lua grammar?
The text was updated successfully, but these errors were encountered: