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