diff options
| -rw-r--r-- | queries/kdl/highlights.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/queries/kdl/highlights.scm b/queries/kdl/highlights.scm index e61361f96..7d200c85e 100644 --- a/queries/kdl/highlights.scm +++ b/queries/kdl/highlights.scm @@ -1,18 +1,19 @@ ; Types -(node - (identifier) @type) +; Variables +(identifier) @variable -(type) @type +; Nodes +(node + (identifier) @tag) -(annotation_type) @type.builtin +; Type annotation +(type + (identifier) @type) ; Properties (prop (identifier) @property) -; Variables -(identifier) @variable - ; Operators [ "=" |
