Skip to content

Commit

Permalink
Add queries for syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hubro committed Jul 19, 2023
1 parent 206dd3e commit 74919e6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

(comment) @comment

(section_header) @keyword
(extra_text) @comment

(setting_statement) @keyword

(variable_definition (variable_name) @variable)

(keyword_definition (name) @function)
(keyword_definition (body (keyword_setting) @keyword))

(test_case_definition (name) @property)

(keyword_invocation (keyword) @function)
(ellipses) @punctuation.delimiter

(argument (text_chunk) @string)
(argument (scalar_variable)* @variable)
(argument (list_variable)* @variable)
(argument (dictionary_variable)* @variable)

0 comments on commit 74919e6

Please sign in to comment.