Skip to content

Commit

Permalink
tsq: update parser to fix escaping double quotes
Browse files Browse the repository at this point in the history
This includes a fix for the new HTML highlights introduced a few
parent commits back:

    ["\"" (attribute_name)] @string

Would get tripped up and the entire line would be highlighted as
a string. Now `\"` is a valid escape.

I'm switching to my fork as the primary repo as the upstream hasn't
been touched in over a year (mostly because stability afaict) but
it has no watchers currently so I'm not hopeful that my PR will
be merged.
  • Loading branch information
the-mikedavis committed Jun 29, 2022
1 parent 0a143b6 commit b757da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ indent = { tab-width = 2, unit = " " }

[[grammar]]
name = "tsq"
source = { git = "https://github.com/tree-sitter/tree-sitter-tsq", rev = "b665659d3238e6036e22ed0e24935e60efb39415" }
source = { git = "https://github.com/the-mikedavis/tree-sitter-tsq", rev = "ea68fc2b571ca1c8f70936855130c380f518ff35" }

[[language]]
name = "cmake"
Expand Down

0 comments on commit b757da9

Please sign in to comment.