configuration.nix/home/programs/neovim.nix

34 lines
598 B
Nix
Raw Normal View History

{ pkgs, ... }: {
xdg = {
desktopEntries = {
"nvim".name = "Neovim wrapper";
"nvim".exec = "nvim %F";
"nvim".noDisplay = true;
};
};
programs.neovim = {
enable = true;
2024-02-29 15:29:20 +05:30
package = pkgs.neovim-nightly;
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-13 23:55:04 +05:30
vscode-langservers-extracted
nodePackages.bash-language-server
2024-02-11 13:55:21 +05:30
stylua
2024-02-10 21:57:02 +05:30
];
};
}