Nvim : Add nixd lsp.

This commit is contained in:
Dmitry Voronin 2024-04-04 12:17:33 +03:00
parent 16e3faac54
commit 17d69bd019
4 changed files with 8 additions and 3 deletions

View file

@ -171,7 +171,7 @@
const = self.nixosModules.const;
flake = self;
inputs = inputs;
style = self.style;
# style = self.style;
wallpaper = self.wallpaper { pkgs = nixpkgs.legacyPackages.${system}.pkgs; };
};
};
@ -285,7 +285,7 @@
const = self.nixosModules.const;
flake = self;
inputs = inputs;
style = self.style { config = config; };
# style = self.style { config = config; };
};
};
};

View file

@ -20,6 +20,7 @@
lsof
ltex-ls
neofetch
nixd
nmap
parallel
parted
@ -37,5 +38,5 @@
];
# Special packages.
programs.adb.enable = true;
programs.adb.enable = true;
}

View file

@ -60,6 +60,7 @@ in {
"plugin/lsp/Haskell.lua"
"plugin/lsp/Rust.lua"
"plugin/lsp/Tex.lua"
"plugin/lsp/Nix.lua"
"key/Autocomplete.lua"
"key/Buffer.lua"
"key/Colorscheme.lua"

View file

@ -0,0 +1,3 @@
local lspconfig = require("lspconfig")
lspconfig.nixd.setup {}