diagnostics/nvim-lint: enable autocmd only if nvim-lint is enabled
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions

This commit is contained in:
raf 2025-03-31 03:22:25 +03:00
parent 0751ec831b
commit d33286d549
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -31,7 +31,7 @@ in {
'';
};
})
(mkIf cfg.lint_after_save {
(mkIf (cfg.enable && cfg.lint_after_save) {
vim = {
augroups = [{name = "nvf_nvim_lint";}];
autocmds = [