1
0
mirror of https://github.com/helix-editor/helix synced 2026-05-07 06:26:42 +02:00
Files
helix/runtime/queries/pip-requirements/highlights.scm
Kristoffer Plagborg Bak Sørensen 327f3852f4 feat: add pip-requirements language (#14161)
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