2024-04-04 18:44:12 +00:00
|
|
|
{pkgs, ...}: {
|
2024-07-08 21:29:55 +00:00
|
|
|
# TODO: Consider switching to nixvim
|
2024-04-04 18:44:12 +00:00
|
|
|
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
|
|
|
|
# Packages required for:
|
|
|
|
# - Mason to build various language servers / linters / formatters from source
|
|
|
|
# - Runtime dependencies of plugins / lang servers / ...
|
|
|
|
withNodeJs = true;
|
|
|
|
withPython3 = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
go
|
|
|
|
python3
|
|
|
|
rustc
|
|
|
|
cargo
|
|
|
|
gcc
|
2024-07-08 21:49:24 +00:00
|
|
|
deadnix
|
|
|
|
statix
|
|
|
|
alejandra
|
2024-04-04 18:44:12 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|