refactor(nvim): move packages out of config to devShells

This commit is contained in:
matt1432 2024-12-22 00:04:13 -05:00
parent 0f627107ce
commit 346077c0e0
16 changed files with 144 additions and 107 deletions
homeManagerModules/neovim/langs/lua

View file

@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib) attrValues mkIf;
inherit (lib) mkIf;
cfg = config.programs.neovim;
@ -13,13 +13,6 @@ in {
config = mkIf cfg.enable {
programs = {
neovim = {
extraPackages = attrValues {
inherit
(pkgs)
lua-language-server
;
};
plugins = [
{
plugin = pkgs.vimPlugins.neodev-nvim;

View file

@ -0,0 +1,10 @@
{
mkShell,
lua-language-server,
...
}:
mkShell {
packages = [
lua-language-server
];
}