aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNomisIV2023-10-13 15:08:27 +0000
committerGitHub2023-10-13 15:08:27 +0000
commit1ef7f24daec1602e39ea9b01b0e1a50fc6623155 (patch)
tree742da5e98a5dad79b0ce1e954bcde22611275543
parent574f82130892d4a388bfdcce63fe2c4a190e479e (diff)
Update purescript-tree-sitter grammar (#8527)
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/purescript/highlights.scm5
2 files changed, 5 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 24b6cccf..048c76bb 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1122,7 +1122,7 @@ formatter = { command = "purs-tidy", args = ["format"] }
[[grammar]]
name = "purescript"
-source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "5f5a030826849b7be17596d372967f60051b42bd" }
+source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "0e36a885a941078bf40e559026be425764dc27bf" }
[[language]]
name = "zig"
diff --git a/runtime/queries/purescript/highlights.scm b/runtime/queries/purescript/highlights.scm
index 86deb48f..f559fd1e 100644
--- a/runtime/queries/purescript/highlights.scm
+++ b/runtime/queries/purescript/highlights.scm
@@ -5,7 +5,10 @@
(exp_negation) @constant.numeric.integer
(exp_literal (float)) @constant.numeric.float
(char) @constant.character
- (string) @string
+ [
+ (string)
+ (triple_quote_string)
+ ] @string
(con_unit) @constant.builtin ; unit, as in ()