45 lines
734 B
Nix
45 lines
734 B
Nix
{ 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 ];
|
|
xdg.configFile."nvim".source = ./config/nvim;
|
|
}
|