diff --git a/modules/basic/config.nix b/modules/basic/config.nix index a06cae2..1b4512a 100644 --- a/modules/basic/config.nix +++ b/modules/basic/config.nix @@ -103,6 +103,9 @@ in { set termguicolors set t_Co=256 ''} + ${optionalString cfg.enableEditorconfig '' + vim.g.editorconfig = false + ''} ''; }; } diff --git a/modules/basic/module.nix b/modules/basic/module.nix index 3fc62d5..08a3c86 100644 --- a/modules/basic/module.nix +++ b/modules/basic/module.nix @@ -142,7 +142,7 @@ with builtins; { enableEditorconfig = mkOption { type = types.bool; default = false; - description = "Follow editorconfig rules in current directory" + description = "Follow editorconfig rules in current directory"; }; }; }