Skip to content

Commit 1ef7f24

Browse files
authored
Update purescript-tree-sitter grammar (#8527)
1 parent 574f821 commit 1ef7f24

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

languages.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ formatter = { command = "purs-tidy", args = ["format"] }
11221122

11231123
[[grammar]]
11241124
name = "purescript"
1125-
source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "5f5a030826849b7be17596d372967f60051b42bd" }
1125+
source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "0e36a885a941078bf40e559026be425764dc27bf" }
11261126

11271127
[[language]]
11281128
name = "zig"

runtime/queries/purescript/highlights.scm

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
(exp_negation) @constant.numeric.integer
66
(exp_literal (float)) @constant.numeric.float
77
(char) @constant.character
8-
(string) @string
8+
[
9+
(string)
10+
(triple_quote_string)
11+
] @string
912

1013
(con_unit) @constant.builtin ; unit, as in ()
1114

0 commit comments

Comments
 (0)