configuration.nix/home/programs/neovim.nix

29 lines
477 B
Nix
Raw Normal View History

{ pkgs, ... }: {
xdg = {
desktopEntries = {
"nvim".name = "Neovim wrapper";
"nvim".exec = "nvim %F";
"nvim".noDisplay = true;
};
};
programs.neovim = {
enable = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
2024-02-10 21:57:02 +05:30
extraPackages = with pkgs; [
fd
ripgrep
tree-sitter
clang
2024-02-11 13:43:25 +05:30
lua-language-server
nixd
2024-02-10 21:57:02 +05:30
];
};
}