configuration.nix/home/programs/neovim.nix

34 lines
597 B
Nix
Raw Permalink Normal View History

2024-06-22 19:56:27 +05:30
{ pkgs, inputs, ... }: {
xdg = {
desktopEntries = {
"nvim".name = "Neovim wrapper";
"nvim".exec = "nvim %F";
"nvim".noDisplay = true;
};
};
programs.neovim = {
enable = true;
2024-06-22 19:56:27 +05:30
package = inputs.neovim-nightly.packages.${pkgs.system}.default;
withNodeJs = true;
withPython3 = true;
withRuby = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
2024-02-10 21:57:02 +05:30
extraPackages = with pkgs; [
2024-06-10 00:21:57 +05:30
gnumake
2024-06-09 18:19:21 +05:30
clang
go
cargo
2024-02-10 21:57:02 +05:30
tree-sitter
2024-02-11 13:55:21 +05:30
stylua
2024-06-09 18:19:21 +05:30
fd
ripgrep
2024-06-10 00:33:12 +05:30
fzf
2024-06-09 18:19:21 +05:30
unzip
wget
2024-02-10 21:57:02 +05:30
];
};
}