32 lines
586 B
Nix
32 lines
586 B
Nix
{ pkgs, neovim-nightly, ... }: {
|
|
xdg = {
|
|
desktopEntries = {
|
|
"nvim".name = "Neovim wrapper";
|
|
"nvim".exec = "nvim %F";
|
|
"nvim".noDisplay = true;
|
|
};
|
|
};
|
|
programs.neovim = {
|
|
enable = true;
|
|
package = neovim-nightly.packages.${pkgs.system}.default;
|
|
withNodeJs = true;
|
|
withPython3 = true;
|
|
withRuby = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
defaultEditor = true;
|
|
extraPackages = with pkgs; [
|
|
clang
|
|
go
|
|
cargo
|
|
rustc
|
|
tree-sitter
|
|
stylua
|
|
|
|
fd
|
|
ripgrep
|
|
unzip
|
|
wget
|
|
];
|
|
};
|
|
}
|