diff --git a/home-manager/common/software/cli/nixvim-base.nix b/home-manager/common/software/cli/nixvim-base.nix index bdc3e746..67a8ff6d 100644 --- a/home-manager/common/software/cli/nixvim-base.nix +++ b/home-manager/common/software/cli/nixvim-base.nix @@ -135,6 +135,25 @@ cmp-buffer.enable = true; cmp-path.enable = true; cmp-nvim-lsp.enable = true; + + # List of linters for nixvim + lint = { + enable = true; + lintersByFt = { + text = ["vale"]; + json = ["jsonlint"]; + markdown = ["vale"]; + rst = ["vale"]; + ruby = ["ruby"]; + janet = ["janet"]; + inko = ["inko"]; + clojure = ["clj-kondo"]; + dockerfile = ["hadolint"]; + terraform = ["tflint"]; + yaml = ["yamllint"]; + nix = ["nix"]; + }; + }; # Popup to show shortcuts