configuration.nix/home/programs/neovim.nix

31 lines
488 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
2024-02-13 23:54:42 +05:30
gcc
2024-02-11 13:43:25 +05:30
lua-language-server
2024-02-13 23:54:53 +05:30
nil
2024-02-11 13:55:21 +05:30
stylua
2024-02-10 21:57:02 +05:30
];
};
}