feat: editorconfig support

This commit is contained in:
NotAShelf 2023-04-17 20:13:18 +03:00
parent a6e24299da
commit 720f0f1a17
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
2 changed files with 4 additions and 1 deletions

View file

@ -103,6 +103,9 @@ in {
set termguicolors set termguicolors
set t_Co=256 set t_Co=256
''} ''}
${optionalString cfg.enableEditorconfig ''
vim.g.editorconfig = false
''}
''; '';
}; };
} }

View file

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