mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-15 00:58:37 +00:00
diagnostics/nvim-lint: enable autocmd only if nvim-lint is enabled
This commit is contained in:
parent
5715e3956b
commit
ae082b7704
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ in {
|
|||
'';
|
||||
};
|
||||
})
|
||||
(mkIf cfg.lint_after_save {
|
||||
(mkIf (cfg.enable && cfg.lint_after_save) {
|
||||
vim = {
|
||||
augroups = [{name = "nvf_nvim_lint";}];
|
||||
autocmds = [
|
||||
|
|
Loading…
Add table
Reference in a new issue