mirror of https://github.com/helix-editor/helix
feat: add a tree-sitter grammar and highlights for dunst's config (#13458)
parent
46cb177792
commit
cbac427383
|
@ -46,6 +46,7 @@
|
||||||
| dot | ✓ | | | `dot-language-server` |
|
| dot | ✓ | | | `dot-language-server` |
|
||||||
| dtd | ✓ | | | |
|
| dtd | ✓ | | | |
|
||||||
| dune | ✓ | | | |
|
| dune | ✓ | | | |
|
||||||
|
| dunstrc | ✓ | | | |
|
||||||
| earthfile | ✓ | ✓ | ✓ | `earthlyls` |
|
| earthfile | ✓ | ✓ | ✓ | `earthlyls` |
|
||||||
| edoc | ✓ | | | |
|
| edoc | ✓ | | | |
|
||||||
| eex | ✓ | | | |
|
| eex | ✓ | | | |
|
||||||
|
|
|
@ -4339,3 +4339,13 @@ indent = { tab-width = 2, unit = " " }
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "pug"
|
name = "pug"
|
||||||
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "13e9195370172c86a8b88184cc358b23b677cc46" }
|
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "13e9195370172c86a8b88184cc358b23b677cc46" }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "dunstrc"
|
||||||
|
scope = "source.dunstrc"
|
||||||
|
comment-tokens = ["#", ";"]
|
||||||
|
file-types = [ { glob = "dunst/dunstrc" } ]
|
||||||
|
|
||||||
|
[[grammar]]
|
||||||
|
name = "dunstrc"
|
||||||
|
source = { git = "https://github.com/rotmh/tree-sitter-dunstrc", rev = "9cb9d5cc51cf5e2a47bb2a0e2f2e519ff11c1431" }
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
(assign
|
||||||
|
(key) @attribute)
|
||||||
|
|
||||||
|
(comment) @comment.line
|
||||||
|
|
||||||
|
[
|
||||||
|
"["
|
||||||
|
"]"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
"=" @operator
|
||||||
|
|
||||||
|
(section
|
||||||
|
(name) @namespace)
|
Loading…
Reference in New Issue