mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-12 16:35:30 +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 = {
|
vim = {
|
||||||
augroups = [{name = "nvf_nvim_lint";}];
|
augroups = [{name = "nvf_nvim_lint";}];
|
||||||
autocmds = [
|
autocmds = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue