diff --git a/home-manager/modules/nvim.nix b/home-manager/modules/nvim.nix index f2e9128..e4e533a 100644 --- a/home-manager/modules/nvim.nix +++ b/home-manager/modules/nvim.nix @@ -52,7 +52,23 @@ extraConfigLuaPost = '' vim.notify = require("mini.notify").make_notify() ''; + extraPackages = with pkgs; [ stylua isort black nixfmt ]; plugins = { + conform-nvim = { + enable = true; + formattersByFt = { + lua = [ "stylua" ]; + python = [ "isort" "black" ]; + nix = [ "nixfmt" ]; + }; + }; + lint = { + enable = true; + lintersByFt = { + python = [ "mypy" ]; + ruby = [ "ruby" ]; + }; + }; harpoon = { enable = true; keymaps = {