1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-07 20:46:21 +01:00
helix/runtime/queries/pip-requirements/highlights.scm
2025-08-09 20:17:42 -04:00

42 lines
541 B
Scheme

(comment) @comment
(requirement (package) @variable)
(extras (package) @variable.parameter)
; "==" | ">" | "<" | ">=" | "<="
(version_cmp) @operator
(version) @constant.numeric
(marker_var) @attribute
(marker_op) @keyword.operator
[
"[" "]"
"(" ")"
] @punctuation.bracket
[
","
";"
"@"
] @punctuation.delimiter
[
"${" "}"
] @punctuation.special
"=" @operator
(path) @string.special.path
(url) @string.special.url
(option) @function
(env_var) @constant
(quoted_string) @string
(linebreak) @constant.character.escape