LSP: Properly actually add astro

This commit is contained in:
damii 2024-12-03 09:42:25 +11:00
parent 41ff1a822b
commit 466d779518
3 changed files with 4 additions and 2 deletions

View file

@ -48,6 +48,7 @@ isMaximal: {
# Assembly is not common, and the asm LSP is a major hit-or-miss # Assembly is not common, and the asm LSP is a major hit-or-miss
assembly.enable = false; assembly.enable = false;
astro.enable = isMaximal;
markdown.enable = isMaximal; markdown.enable = isMaximal;
html.enable = isMaximal; html.enable = isMaximal;
css.enable = isMaximal; css.enable = isMaximal;

View file

@ -18,7 +18,8 @@
# testing, but make sure to discard the changes before creating a pull # testing, but make sure to discard the changes before creating a pull
# request. # request.
packages.dev = let packages.dev = let
configuration = {}; configuration = {
};
customNeovim = lib.nvim.neovimConfiguration { customNeovim = lib.nvim.neovimConfiguration {
inherit pkgs; inherit pkgs;

View file

@ -19,7 +19,7 @@
defaultServer = "astro"; defaultServer = "astro";
servers = { servers = {
astro = { astro = {
package = pkgs.nodePackages.astro-language-server; package = pkgs.astro-language-server;
lspConfig = '' lspConfig = ''
lspconfig.astro.setup { lspconfig.astro.setup {
capabilities = capabilities; capabilities = capabilities;