diff --git a/nvim/default.nix b/nvim/default.nix index 73f7818..5311dbc 100644 --- a/nvim/default.nix +++ b/nvim/default.nix @@ -27,6 +27,7 @@ clang-tools lua-language-server nodePackages.typescript-language-server + nodePackages."@astrojs/language-server" typescript tailwindcss-language-server gopls diff --git a/nvim/plugin/lsp.lua b/nvim/plugin/lsp.lua index 13c2ae6..f1f6ed5 100644 --- a/nvim/plugin/lsp.lua +++ b/nvim/plugin/lsp.lua @@ -135,6 +135,11 @@ require('lspconfig').vhdl_ls.setup { capabilities = capabilities, } +require('lspconfig').astro.setup { + on_attach = on_attach, + capabilities = capabilities, +} + require('rust-tools').setup({ server = { on_attach = on_attach,