nixos/home/packages/tui/neovim.nix

44 lines
670 B
Nix

{ pkgs, ... }:
{
imports = [ ./common.nix ];
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withRuby = true;
withPython3 = true;
extraPackages = with pkgs; [
# Used by installed plugins
gnumake
gcc
fzf
ripgrep
# Python
mypy
black
isort
ruff
python3Packages.jedi-language-server
# Nix
rnix-lsp
nil
# Lua
sumneko-lua-language-server
stylua
# Fortran
fortran-language-server
# Misc
nodePackages.prettier
];
};
}