From 1b1aead30ec005fe2c35747dca5bb499f290c525 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Wed, 11 Mar 2026 15:14:52 +0200 Subject: [PATCH] fix(queries): register highlights and remove invalid node capture --- queries/highlights.scm | 8 ++++++++ tree-sitter.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 queries/highlights.scm diff --git a/queries/highlights.scm b/queries/highlights.scm new file mode 100644 index 0000000..8b801ec --- /dev/null +++ b/queries/highlights.scm @@ -0,0 +1,8 @@ +(keyword) @keyword + +(key) @property +(assert_key) @property + +(quoted_value) @string +(template_value) @variable.special +(bare_value) @string.unquoted diff --git a/tree-sitter.json b/tree-sitter.json index 8ac89d5..06a2d01 100644 --- a/tree-sitter.json +++ b/tree-sitter.json @@ -6,6 +6,7 @@ "camelcase": "Bruno", "title": "Bruno", "scope": "source.bruno", + "highlights": "queries/highlights.scm", "file-types": [ "bru" ], @@ -37,4 +38,3 @@ "zig": false } } -