2023-03-28 19:54:01 +01:00
|
|
|
{ pkgs, ... }:
|
2023-03-28 09:01:52 +01:00
|
|
|
|
|
|
|
{
|
2023-04-03 11:54:22 +01:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
2023-04-04 09:28:27 +01:00
|
|
|
defaultEditor = true;
|
2023-04-03 11:54:22 +01:00
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
withNodeJs = true;
|
2023-04-04 09:28:27 +01:00
|
|
|
withRuby = true;
|
2023-04-03 11:54:22 +01:00
|
|
|
withPython3 = true;
|
2023-04-04 09:28:27 +01:00
|
|
|
extraPackages = with pkgs; [
|
|
|
|
# Used by installed plugins
|
|
|
|
gnumake
|
|
|
|
gcc
|
|
|
|
fzf
|
|
|
|
ripgrep
|
2023-04-05 15:42:50 +01:00
|
|
|
|
2023-04-04 09:28:27 +01:00
|
|
|
# Python
|
|
|
|
mypy
|
|
|
|
black
|
|
|
|
isort
|
|
|
|
ruff
|
2023-04-05 15:42:50 +01:00
|
|
|
python3Packages.jedi-language-server
|
|
|
|
|
2023-04-04 09:28:27 +01:00
|
|
|
# Nix
|
|
|
|
rnix-lsp
|
|
|
|
nil
|
2023-04-05 15:42:50 +01:00
|
|
|
|
2023-04-04 09:28:27 +01:00
|
|
|
# Lua
|
|
|
|
sumneko-lua-language-server
|
2023-04-05 15:42:50 +01:00
|
|
|
stylua
|
|
|
|
|
2023-04-04 09:28:27 +01:00
|
|
|
# Fortran
|
|
|
|
fortran-language-server
|
2023-04-05 15:42:50 +01:00
|
|
|
|
|
|
|
# Misc
|
|
|
|
nodePackages.prettier
|
2023-04-04 09:28:27 +01:00
|
|
|
];
|
2023-04-03 11:54:22 +01:00
|
|
|
};
|
2023-05-12 11:51:04 +01:00
|
|
|
home.packages = with pkgs; [ tree-sitter ];
|
2023-05-04 11:05:58 +01:00
|
|
|
xdg.configFile."nvim".source = ./config/nvim;
|
2023-03-28 09:01:52 +01:00
|
|
|
}
|