diff options
author | Soispha <soispha@vhack.eu> | 2023-08-19 22:30:20 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-19 22:30:20 +0200 |
commit | 02e5c2366fb5893d97bffc658eb6aa1be1ae4d06 (patch) | |
tree | 1d37c1f4af8bd7847054a67ff6249a649a543845 /home-manager/soispha/config/neovim/nixvim/default.nix | |
parent | Fix(hm/conf/lf/commands): Remove non-wrapped neovim dependency (diff) | |
download | nixos-config-02e5c2366fb5893d97bffc658eb6aa1be1ae4d06.zip |
Fix(hm/conf/neovim): Add linter and formatters to the wrapped neovim
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/default.nix')
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/default.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/default.nix b/home-manager/soispha/config/neovim/nixvim/default.nix index a96bc476..8fc6a05e 100644 --- a/home-manager/soispha/config/neovim/nixvim/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/default.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { imports = [ ./autocmds ./clipboard @@ -22,5 +22,22 @@ -- --------------------------------------------------------------------------- ''; + + extraPackages = with pkgs; [ + /* + These are mostly linters and formatters used for different file types. + Including them here is fine, as they are not necessarily sync able to different people. + */ + # nix + alejandra + statix + + # yaml + yamllint + + # shell + shellcheck + shfmt + ]; }; } |