plugins/guess-indent: init

This commit is contained in:
GGORG 2024-07-24 13:43:08 +02:00
parent 230f95eae0
commit 30ab203d56
3 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{
empty = {
plugins.guess-indent.enable = true;
};
defaults = {
plugins.guess-indent = {
enable = true;
settings = {
auto_cmd = true;
override_editorconfig = false;
filetype_exclude = [
"netrw"
"tutor"
];
buftype_exclude = [
"help"
"nofile"
"terminal"
"prompt"
];
on_tab_options = {
"expandtab" = false;
};
on_space_options = {
"expandtab" = true;
"tabstop" = "detected";
"softtabstop" = "detected";
"shiftwidth" = "detected";
};
};
};
};
example = {
plugins.guess-indent = {
enable = true;
settings = {
auto_cmd = false;
override_editorconfig = true;
filetype_exclude = [ "markdown" ];
};
};
};
}