nixdots/home/programs/terminal/editors/neovim/default.nix

27 lines
516 B
Nix
Raw Normal View History

2024-04-04 20:44:12 +02:00
{pkgs, ...}: {
2024-07-08 23:29:55 +02:00
# TODO: Consider switching to nixvim
2024-04-04 20:44:12 +02: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 23:49:24 +02:00
deadnix
statix
alejandra
2024-07-10 13:12:29 +02:00
nixd
2024-04-04 20:44:12 +02:00
];
};
}