nixos/home/tui/neovim.nix

45 lines
734 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
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
];
};
home.packages = with pkgs; [ tree-sitter ];
2023-05-04 11:05:58 +01:00
xdg.configFile."nvim".source = ./config/nvim;
}