fix editorconfig option

This commit is contained in:
Ching Pei Yang 2023-04-22 00:05:19 +02:00
parent 229450c4a9
commit ec5f3a731a
2 changed files with 3 additions and 3 deletions

View file

@ -103,8 +103,8 @@ in {
set termguicolors
set t_Co=256
''}
${optionalString cfg.enableEditorconfig ''
vim.g.editorconfig = false
${optionalString (!cfg.enableEditorconfig) ''
let g:editorconfig = v:false
''}
'';
};

View file

@ -141,7 +141,7 @@ with builtins; {
};
enableEditorconfig = mkOption {
type = types.bool;
default = false;
default = true;
description = "Follow editorconfig rules in current directory";
};
};