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 =
|
||||
{
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
extraPackages = with pkgs; lib.mkMerge [
|
||||
[
|
||||
ripgrep
|
||||
luarocks
|
||||
gnumake
|
||||
|
|
@ -16,27 +17,29 @@
|
|||
nixpkgs-fmt
|
||||
tree-sitter
|
||||
fd
|
||||
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages cargo)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages gcc)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages go)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages jdk22)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages lua51Packages.lua)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages nodejs)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages php83Packages.composer)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages php83)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages opam)
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages
|
||||
]
|
||||
(lib.mkIf config.modules.apps.neovim.enableLanguages [
|
||||
cargo
|
||||
gcc
|
||||
go
|
||||
jdk22
|
||||
luaPackages.lua
|
||||
nodejs
|
||||
php83Packages.composer
|
||||
php83
|
||||
opam
|
||||
(python3.withPackages (python-pkgs: [
|
||||
python-pkgs.pip
|
||||
python-pkgs.black
|
||||
])))
|
||||
]))
|
||||
])
|
||||
];
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraLuaConfig = lib.fileContents ./init.lua;
|
||||
extraLuaConfig = lib.fileContents
|
||||
./init.lua;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue