mirror of https://github.com/helix-editor/helix
add highlights for env and ini file formats (#4536)
parent
9df4358492
commit
ed7ea8c9ba
@ -0,0 +1,19 @@
|
|||||||
|
(env_variable (quoted_string)) @string
|
||||||
|
(env_variable (unquoted_string)) @string
|
||||||
|
|
||||||
|
(env_key) @keyword
|
||||||
|
|
||||||
|
((variable) @keyword
|
||||||
|
(#match? @keyword "^([A-Z][A-Z_0-9]*)$"))
|
||||||
|
|
||||||
|
[
|
||||||
|
"{"
|
||||||
|
"}"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
[
|
||||||
|
"$"
|
||||||
|
"="
|
||||||
|
] @operator
|
||||||
|
|
||||||
|
(comment) @comment
|
@ -0,0 +1,6 @@
|
|||||||
|
(section_name) @namespace
|
||||||
|
|
||||||
|
(setting_name) @keyword
|
||||||
|
(setting_value) @string
|
||||||
|
|
||||||
|
(comment) @comment
|
Loading…
Reference in New Issue