mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-28 05:32:23 +00:00
LSP: Properly actually add astro
This commit is contained in:
parent
41ff1a822b
commit
466d779518
3 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue