mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
feat: editorconfig support
This commit is contained in:
parent
a6e24299da
commit
720f0f1a17
2 changed files with 4 additions and 1 deletions
|
@ -103,6 +103,9 @@ in {
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
''}
|
''}
|
||||||
|
${optionalString cfg.enableEditorconfig ''
|
||||||
|
vim.g.editorconfig = false
|
||||||
|
''}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue