From bd8711db7717ec3dfc14fc83f2e69624de2afbc1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 17 May 2023 17:07:13 +0100 Subject: [PATCH] Add extra neovim packages as needed by recent additions to null-ls sources --- home/tui/neovim.nix | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/home/tui/neovim.nix b/home/tui/neovim.nix index 99346dc2..f0efb3fa 100644 --- a/home/tui/neovim.nix +++ b/home/tui/neovim.nix @@ -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 ]; }; }