diff --git a/modules/basic/config.nix b/modules/basic/config.nix index a06cae29..1b4512a3 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 3fc62d59..08a3c863 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"; }; }; }