Unnamed repository; edit this file 'description' to name the repository.
feat(highlights): add support for syntax features in `hurl` version 6.0.0 (#12725)
Kristoffer Plagborg Bak Sørensen 6 months ago
parent 05a99c2 · commit 7103826
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/hurl/highlights.scm6
2 files changed, 7 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 17eb2caf..175afc81 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3474,7 +3474,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "hurl"
-source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "cd1a0ada92cc73dd0f4d7eedc162be4ded758591" }
+source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "1124058cd192e80d80914652a5850a5b1887cc10" }
[[language]]
name = "markdoc"
diff --git a/runtime/queries/hurl/highlights.scm b/runtime/queries/hurl/highlights.scm
index a2037637..e591add2 100644
--- a/runtime/queries/hurl/highlights.scm
+++ b/runtime/queries/hurl/highlights.scm
@@ -1,7 +1,10 @@
[
"[QueryStringParams]"
+ "[Query]"
"[FormParams]"
+ "[Form]"
"[MultipartFormData]"
+ "[Multipart]"
"[Cookies]"
"[Captures]"
"[Asserts]"
@@ -116,6 +119,9 @@
"isBoolean"
"isString"
"isCollection"
+ "isNumber"
+ "isIsoDate"
+ "isEmpty"
] @keyword.operator
(integer) @constant.numeric.integer