30 lines
471 B
Nix
30 lines
471 B
Nix
{ pkgs, ... }: {
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
|
|
withNodeJs = true;
|
|
withPython3 = true;
|
|
withRuby = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
# Formatters
|
|
stylua
|
|
nixfmt
|
|
|
|
# Tools
|
|
ripgrep
|
|
fd
|
|
git
|
|
ast-grep
|
|
];
|
|
};
|
|
|
|
# Symlink LazyVim config to ~/.config/nvim
|
|
xdg.configFile."nvim" = {
|
|
source = ./nvim;
|
|
recursive = true;
|
|
};
|
|
}
|