Unnamed repository; edit this file 'description' to name the repository.
hyprlang: add hyprls language server (#11056)
Co-authored-by: Michael Davis <[email protected]>
Arthur 2024-11-21
parent 467fad5 · commit 15b478d
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 6c250ec4..20f861a5 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -91,7 +91,7 @@
| hosts | ✓ | | | |
| html | ✓ | | | `vscode-html-language-server`, `superhtml` |
| hurl | ✓ | ✓ | ✓ | |
-| hyprlang | ✓ | | ✓ | |
+| hyprlang | ✓ | | ✓ | `hyprls` |
| idris | | | | `idris2-lsp` |
| iex | ✓ | | | |
| ini | ✓ | | | |
diff --git a/languages.toml b/languages.toml
index 026c8bcd..00df4bf4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -44,6 +44,7 @@ gleam = { command = "gleam", args = ["lsp"] }
glsl_analyzer = { command = "glsl_analyzer" }
graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
+hyprls = { command = "hyprls" }
idris2-lsp = { command = "idris2-lsp" }
intelephense = { command = "intelephense", args = ["--stdio"] }
jdtls = { command = "jdtls" }
@@ -3577,6 +3578,7 @@ roots = ["hyprland.conf"]
file-types = [ { glob = "hyprland.conf" }, { glob = "hyprpaper.conf" }, { glob = "hypridle.conf" }, { glob = "hyprlock.conf" } ]
comment-token = "#"
grammar = "hyprlang"
+language-servers = ["hyprls"]
[[grammar]]
name = "hyprlang"