feat: nicer neovim thingies
This commit is contained in:
parent
3b7d5b1d1b
commit
f6a3111d4a
1 changed files with 24 additions and 21 deletions
|
|
@ -8,7 +8,8 @@
|
||||||
programs.neovim =
|
programs.neovim =
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; lib.mkMerge [
|
||||||
|
[
|
||||||
ripgrep
|
ripgrep
|
||||||
luarocks
|
luarocks
|
||||||
gnumake
|
gnumake
|
||||||
|
|
@ -16,27 +17,29 @@
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
tree-sitter
|
tree-sitter
|
||||||
fd
|
fd
|
||||||
|
]
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages cargo)
|
(lib.mkIf config.modules.apps.neovim.enableLanguages [
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages gcc)
|
cargo
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages go)
|
gcc
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages jdk22)
|
go
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages lua51Packages.lua)
|
jdk22
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages nodejs)
|
luaPackages.lua
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages php83Packages.composer)
|
nodejs
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages php83)
|
php83Packages.composer
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages opam)
|
php83
|
||||||
(lib.mkIf config.modules.apps.neovim.enableLanguages
|
opam
|
||||||
(python3.withPackages (python-pkgs: [
|
(python3.withPackages (python-pkgs: [
|
||||||
python-pkgs.pip
|
python-pkgs.pip
|
||||||
python-pkgs.black
|
python-pkgs.black
|
||||||
])))
|
]))
|
||||||
|
])
|
||||||
];
|
];
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
extraLuaConfig = lib.fileContents ./init.lua;
|
extraLuaConfig = lib.fileContents
|
||||||
|
./init.lua;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue