nixos/home/tui/neovim.nix
Evie Litherland-Smith 4a14d522d9 Add extra packages for neovim
Add python packages for magma-nvim plugin
Add more language servers, replace python and fortran with pyright/ruff
and fortls respectively
2023-05-17 11:42:45 +01:00

45 lines
861 B
Nix

{ pkgs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withRuby = true;
withPython3 = true;
extraPython3Packages = (ps: with ps; [
# Extra python packages for magma-nvim
jupyter-client
ueberzug
cairosvg
pnglatex
]);
extraPackages = with pkgs; [
# Used by installed plugins
gnumake
gcc
fzf
ripgrep
tree-sitter
# Language servers
nodePackages.pyright
python3Packages.ruff-lsp
nil
lua-language-server
fortls
nodePackages.yaml-language-server
nodePackages.vim-language-server
nodePackages.bash-language-server
# Null LSP formatters
black
isort
nodePackages.prettier
];
};
}