nvim-treesitter/runtime/queries/cylc/highlights.scm
Riley Bruins 6ac9f2e512
fix: align line continuation highlights (#8146)
These should be `@punctuation.special`. Added the highlight for python,
cylc, and make. Corrected it for earthfile and matlab.
2025-09-21 16:59:47 -07:00

74 lines
936 B
Scheme

(comment) @comment @spell
(key) @property
(boolean) @boolean
(datetime) @string.special
(task_name) @function
(include_directive) @keyword.import
[
(section_name)
(namespace)
] @markup.heading
[
(integer)
(recurrence)
] @number
[
"["
"]"
"[["
"]]"
"[[["
"]]]"
"<"
">"
(graph_parenthesis)
] @punctuation.bracket
(line_continuation) @punctuation.special
[
"\""
"\"\"\""
(unquoted_string)
(quoted_string)
(multiline_string)
] @string
[
(xtrigger_annotation)
(suicide_annotation)
] @attribute
[
"="
(assignment_operator)
(graph_logical)
(graph_arrow)
] @operator
(include_statement
path: (_)? @string.special.path)
(task_parameter
name: (_)? @variable.parameter
selection: (_)? @variable.parameter)
(task_output
":" @tag
(nametag) @variable.builtin
"?"? @tag)
[
(jinja2_expression)
(jinja2_statement)
(jinja2_comment)
(jinja2_shebang)
] @keyword.directive