Skip to content

Commit

Permalink
Query: update highlight queries
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jul 13, 2021
1 parent 6472681 commit aa3f088
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions queries/query/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
(string) @string
(escape_sequence) @string.escape
(capture) @type
(anonymous_node) @string
(capture (identifier) @type)
(anonymous_node (identifier) @string)
(predicate name: (identifier) @function)
(named_node
name: (identifier) @variable
(field_definition
name: (identifier) @property))
(named_node name: (identifier) @variable)
(field_definition name: (identifier) @property)
(comment) @comment

(quantifier) @operator
Expand All @@ -22,6 +20,8 @@
] @punctuation.bracket

":" @punctuation.delimiter
"@" @punctuation.special
"_" @constant

((program . (comment) @include)
(#match? @include "^;\ +inherits\ *:"))

0 comments on commit aa3f088

Please sign in to comment.