aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()