Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/kdl/highlights.scm')
| -rw-r--r-- | runtime/queries/kdl/highlights.scm | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/runtime/queries/kdl/highlights.scm b/runtime/queries/kdl/highlights.scm index 9ba420a9..d83bde19 100644 --- a/runtime/queries/kdl/highlights.scm +++ b/runtime/queries/kdl/highlights.scm @@ -1,22 +1,12 @@ -[ - (single_line_comment) - (multi_line_comment) - - (node_comment) - (node_field_comment) - - ; these do not show up as comments in Helix as they are also highlighted as - ; normal nodes - (node . (node_comment)) - (node_field . (node_field_comment)) -] @comment +(comment) @comment +(single_line_comment) @comment (node - (identifier) @variable) - + name: (identifier) @function) (prop (identifier) @attribute) +(type) @type -(type (_) @type) @punctuation.bracket +(bare_identifier) @variable.other.member (keyword) @keyword |