From 1ef7f24daec1602e39ea9b01b0e1a50fc6623155 Mon Sep 17 00:00:00 2001 From: NomisIV Date: Fri, 13 Oct 2023 17:08:27 +0200 Subject: Update purescript-tree-sitter grammar (#8527) --- languages.toml | 2 +- runtime/queries/purescript/highlights.scm | 5 ++++- 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 () -- cgit v1.2.3-70-g09d2