mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 19:40:06 +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,14 +15,18 @@ with lib;
|
|||
|
||||
package = helpers.mkPluginPackageOption "lastplace" pkgs.vimPlugins.nvim-lastplace;
|
||||
|
||||
ignoreBuftype =
|
||||
helpers.defaultNullOpts.mkNullable (types.listOf types.str) ''["quickfix" "nofix" "help"]''
|
||||
"The list of buffer types to ignore by lastplace.";
|
||||
ignoreBuftype = helpers.defaultNullOpts.mkListOf types.str [
|
||||
"quickfix"
|
||||
"nofix"
|
||||
"help"
|
||||
] "The list of buffer types to ignore by lastplace.";
|
||||
|
||||
ignoreFiletype =
|
||||
helpers.defaultNullOpts.mkNullable (types.listOf types.str)
|
||||
''["gitcommit" "gitrebase" "svn" "hgcommit"]''
|
||||
"The list of file types to ignore by lastplace.";
|
||||
ignoreFiletype = helpers.defaultNullOpts.mkListOf types.str [
|
||||
"gitcommit"
|
||||
"gitrebase"
|
||||
"svn"
|
||||
"hgcommit"
|
||||
] "The list of file types to ignore by lastplace.";
|
||||
|
||||
openFolds = helpers.defaultNullOpts.mkBool true "Whether closed folds are automatically opened when jumping to the last edit position.";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue