aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorArthur Deierlein2024-03-17 22:53:30 +0000
committerGitHub2024-03-17 22:53:30 +0000
commit9ec0271873ed484f96342489b4117391e88abcd3 (patch)
tree944b2d543ba4ca5f97d0fc7f02331f5a6a2045d5 /languages.toml
parent61f7d9ce2f2d20f4b0bd2f21036eac1f11cb2c5c (diff)
Add support for hyprland config (#9899)
* feat: add hyprland config language * adjust indents to helix * adjust highlights to helix
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 8fbb98e8..b01da144 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"}