Skip to content

Commit

Permalink
Add scope definition for ansi_c_string in the modern tree-sitter se…
Browse files Browse the repository at this point in the history
…tup.

This is how `tree-sitter-bash` marks `$'...'` strings.
  • Loading branch information
danfuzz committed Oct 18, 2023
1 parent 64b1469 commit b906f01
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
(string "\"" @punctuation.definition.string.end.shell
(#is? test.last true))
(raw_string) @string.quoted.single.shell
(ansi_c_string) @string.quoted.single.shell

(string
(command_substitution) @meta.embedded.line.subshell.shell)
Expand Down

0 comments on commit b906f01

Please sign in to comment.