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; withNodeJs = true;
withRuby = true; withRuby = true;
withPython3 = true; withPython3 = true;
extraPython3Packages = (ps: with ps; [
# Extra python packages for magma-nvim
jupyter-client
ueberzug
cairosvg
pnglatex
]);
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# Used by installed plugins # Used by installed plugins
gnumake gnumake
gcc gcc
fzf fzf
ripgrep ripgrep
tree-sitter
# Python # Language servers
mypy 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 black
isort isort
ruff
python3Packages.jedi-language-server
# Nix
rnix-lsp
nil
# Lua
sumneko-lua-language-server
stylua
# Fortran
fortran-language-server
# Misc
nodePackages.prettier nodePackages.prettier
]; ];
}; };
home.packages = with pkgs; [ tree-sitter ];
} }