on master help sign in
Update purescript-tree-sitter grammar (#8527)
1ef7f24NomisIV
languages.toml+1−1
@@ -1122,7 +1122,7 @@ formatter = { command = "purs-tidy", args = ["format"] }
1122
1122
1123[[grammar]]
1123[[grammar]]
1124name = "purescript"
1124name = "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" }
1126
1126
1127[[language]]
1127[[language]]
1128name = "zig"
1128name = "zig"
runtime/queries/purescript/highlights.scm+4−1
@@ -5,7 +5,10 @@
5 (exp_negation) @constant.numeric.integer
5 (exp_negation) @constant.numeric.integer
6 (exp_literal (float)) @constant.numeric.float
6 (exp_literal (float)) @constant.numeric.float
7 (char) @constant.character
7 (char) @constant.character
8+ [
8− (string) @string
9+ (string)
10+ (triple_quote_string)
11+ ] @string
9
12
10 (con_unit) @constant.builtin ; unit, as in ()
13 (con_unit) @constant.builtin ; unit, as in ()
11
14