From 15b478d433049a77737c2bf80e38951e9de565c2 Mon Sep 17 00:00:00 2001 From: Arthur <150680976+arthsmn@users.noreply.github.com> Date: Wed, 20 Nov 2024 23:16:49 +0000 Subject: [PATCH] hyprlang: add hyprls language server (#11056) Co-authored-by: Michael Davis --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 6c250ec4f..20f861a5d 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 026c8bcd3..00df4bf45 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"