mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -39,58 +39,39 @@ mkVimPlugin {
|
|||
"customFooter"
|
||||
"relativePath"
|
||||
"useEnv"
|
||||
{
|
||||
old = "updateOldFiles";
|
||||
new = "update_oldfiles";
|
||||
}
|
||||
{
|
||||
old = "skipList";
|
||||
new = "skiplist";
|
||||
}
|
||||
{
|
||||
old = "useUnicode";
|
||||
new = "fortune_use_unicode";
|
||||
}
|
||||
{
|
||||
old = "skipListServer";
|
||||
new = "skiplist_server";
|
||||
}
|
||||
{
|
||||
old = "sessionSaveVars";
|
||||
new = "session_savevars";
|
||||
}
|
||||
{
|
||||
old = "sessionCmds";
|
||||
new = "session_savecmds";
|
||||
}
|
||||
{
|
||||
old = "customQuotes";
|
||||
new = "custom_header_quotes";
|
||||
}
|
||||
{
|
||||
old = "disableAtVimEnter";
|
||||
new = "disable_at_vimenter";
|
||||
}
|
||||
];
|
||||
imports =
|
||||
map
|
||||
(
|
||||
option:
|
||||
mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"startify"
|
||||
option.old
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
"startify"
|
||||
"settings"
|
||||
option.new
|
||||
]
|
||||
)
|
||||
[
|
||||
{
|
||||
old = "updateOldFiles";
|
||||
new = "update_oldfiles";
|
||||
}
|
||||
{
|
||||
old = "skipList";
|
||||
new = "skiplist";
|
||||
}
|
||||
{
|
||||
old = "useUnicode";
|
||||
new = "fortune_use_unicode";
|
||||
}
|
||||
{
|
||||
old = "skipListServer";
|
||||
new = "skiplist_server";
|
||||
}
|
||||
{
|
||||
old = "sessionSaveVars";
|
||||
new = "session_savevars";
|
||||
}
|
||||
{
|
||||
old = "sessionCmds";
|
||||
new = "session_savecmds";
|
||||
}
|
||||
{
|
||||
old = "customQuotes";
|
||||
new = "custom_header_quotes";
|
||||
}
|
||||
{
|
||||
old = "disableAtVimEnter";
|
||||
new = "disable_at_vimenter";
|
||||
}
|
||||
];
|
||||
|
||||
settingsOptions = import ./options.nix { inherit lib helpers; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue