mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 16:14:46 +02:00
plugins/utils: normalize plugin defaults
This commit is contained in:
parent
b10a391bd0
commit
6ab2a39e6a
53 changed files with 1434 additions and 1221 deletions
|
@ -15,9 +15,11 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
|||
helpers.defaultNullOpts.mkInt 2048
|
||||
"Number of lines without indentation before giving up (use -1 for infinite)";
|
||||
skip_multiline = helpers.defaultNullOpts.mkBool false "Skip multi-line comments and strings (more accurate detection but less performant)";
|
||||
standard_widths =
|
||||
helpers.defaultNullOpts.mkListOf types.ints.unsigned ''[2 4 8]''
|
||||
"Space indentations that should be detected";
|
||||
standard_widths = helpers.defaultNullOpts.mkListOf types.ints.unsigned [
|
||||
2
|
||||
4
|
||||
8
|
||||
] "Space indentations that should be detected";
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue