mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
Add support for hyprland config (#9899)
* feat: add hyprland config language * adjust indents to helix * adjust highlights to helix
This commit is contained in:
parent
61f7d9ce2f
commit
9ec0271873
5 changed files with 80 additions and 0 deletions
|
@ -3284,3 +3284,15 @@ indent = { tab-width = 2, unit = " " }
|
|||
[[grammar]]
|
||||
name = "ld"
|
||||
source = { git = "https://github.com/mtoohey31/tree-sitter-ld", rev = "81978cde3844bfc199851e39c80a20ec6444d35e" }
|
||||
|
||||
[[language]]
|
||||
name = "hyprlang"
|
||||
scope = "source.hyprlang"
|
||||
roots = ["hyprland.conf"]
|
||||
file-types = [ { glob = "hyprland.conf"} ]
|
||||
comment-token = "#"
|
||||
grammar = "hyprlang"
|
||||
|
||||
[[grammar]]
|
||||
name = "hyprlang"
|
||||
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hyprlang", rev = "27af9b74acf89fa6bed4fb8cb8631994fcb2e6f3"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue