configuration.nix/home/programs/neovim.nix

31 lines
552 B
Nix
Raw Normal View History

2024-05-12 15:33:58 +05:30
{ 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-11 13:43:25 +05:30
lua-language-server
2024-06-08 22:02:22 +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
];
};
}