mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -19,30 +19,15 @@ mkVimPlugin {
|
|||
optionsRenamedToSettings = [
|
||||
"detailedFirst"
|
||||
"foldBlanks"
|
||||
{
|
||||
old = "maxWidth";
|
||||
new = "maxwidth";
|
||||
}
|
||||
{
|
||||
old = "fillString";
|
||||
new = "fillstring";
|
||||
}
|
||||
];
|
||||
imports =
|
||||
let
|
||||
basePluginPath = [
|
||||
"plugins"
|
||||
"ledger"
|
||||
];
|
||||
in
|
||||
[
|
||||
(mkRenamedOptionModule (basePluginPath ++ [ "maxWidth" ]) (
|
||||
basePluginPath
|
||||
++ [
|
||||
"settings"
|
||||
"maxwidth"
|
||||
]
|
||||
))
|
||||
(mkRenamedOptionModule (basePluginPath ++ [ "fillString" ]) (
|
||||
basePluginPath
|
||||
++ [
|
||||
"settings"
|
||||
"fillstring"
|
||||
]
|
||||
))
|
||||
];
|
||||
|
||||
extraOptions = {
|
||||
ledgerPackage = lib.mkPackageOption pkgs "ledger" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue