From 466d779518233b22bff65fb95d8fb50f03408c03 Mon Sep 17 00:00:00 2001 From: damii Date: Tue, 3 Dec 2024 09:42:25 +1100 Subject: [PATCH] LSP: Properly actually add astro --- configuration.nix | 1 + flake/develop.nix | 3 ++- modules/plugins/languages/astro.nix | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3b8e3d2..0921f19 100644 --- a/configuration.nix +++ b/configuration.nix @@ -48,6 +48,7 @@ isMaximal: { # Assembly is not common, and the asm LSP is a major hit-or-miss assembly.enable = false; + astro.enable = isMaximal; markdown.enable = isMaximal; html.enable = isMaximal; css.enable = isMaximal; diff --git a/flake/develop.nix b/flake/develop.nix index 7b64528..78f4142 100644 --- a/flake/develop.nix +++ b/flake/develop.nix @@ -18,7 +18,8 @@ # testing, but make sure to discard the changes before creating a pull # request. packages.dev = let - configuration = {}; + configuration = { + }; customNeovim = lib.nvim.neovimConfiguration { inherit pkgs; diff --git a/modules/plugins/languages/astro.nix b/modules/plugins/languages/astro.nix index 041dc01..169838c 100644 --- a/modules/plugins/languages/astro.nix +++ b/modules/plugins/languages/astro.nix @@ -19,7 +19,7 @@ defaultServer = "astro"; servers = { astro = { - package = pkgs.nodePackages.astro-language-server; + package = pkgs.astro-language-server; lspConfig = '' lspconfig.astro.setup { capabilities = capabilities;