mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 00:26:45 +00:00
Merge pull request #57 from horriblename/fix-editorconfig
fix editorconfig option
This commit is contained in:
commit
91da602672
2 changed files with 3 additions and 3 deletions
|
@ -103,8 +103,8 @@ in {
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
''}
|
''}
|
||||||
${optionalString cfg.enableEditorconfig ''
|
${optionalString (!cfg.enableEditorconfig) ''
|
||||||
vim.g.editorconfig = false
|
let g:editorconfig = v:false
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -141,7 +141,7 @@ with builtins; {
|
||||||
};
|
};
|
||||||
enableEditorconfig = mkOption {
|
enableEditorconfig = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = true;
|
||||||
description = "Follow editorconfig rules in current directory";
|
description = "Follow editorconfig rules in current directory";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue