Add extra neovim packages as needed by recent additions to null-ls

sources
This commit is contained in:
Evie Litherland-Smith 2023-05-17 17:07:13 +01:00
parent 8eaa5a7839
commit bd8711db77

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
@ -10,15 +8,19 @@
withNodeJs = true;
withRuby = true;
withPython3 = true;
extraPython3Packages = (ps: with ps; [
# Extra python packages for magma-nvim
jupyter-client
ueberzug
cairosvg
pnglatex
]);
extraPython3Packages = ps:
with ps; [
# Extra python packages for magma-nvim
jupyter-client
ueberzug
cairosvg
pnglatex
];
extraPackages = with pkgs; [
# Used by installed plugins
git
curl
gnutar
gnumake
gcc
fzf
@ -35,10 +37,22 @@
nodePackages.vim-language-server
nodePackages.bash-language-server
# For code spell checking
nodePackages.cspell
# Null LSP formatters
alejandra
autoflake
beautysh
black
nodePackages.fixjson
fprettify
isort
nodePackages.prettier
python3Packages.mdformat
# nixfmt
# nixpkgs-fmt
shellharden
stylua
];
};
}