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
This commit is contained in:
Evie Litherland-Smith 2023-05-17 11:42:45 +01:00
parent f0a34f5a65
commit 4a14d522d9

View file

@ -10,34 +10,35 @@
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
# Python
mypy
# 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
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 ];
}