mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 17:39:49 +01: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