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 } } -