mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 16:45:07 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -18,21 +18,10 @@ mkVimPlugin {
|
|||
optionsRenamedToSettings = [
|
||||
"width"
|
||||
"height"
|
||||
];
|
||||
imports = [
|
||||
(mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"goyo"
|
||||
"showLineNumbers"
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
"goyo"
|
||||
"settings"
|
||||
"linenr"
|
||||
]
|
||||
)
|
||||
{
|
||||
old = "showLineNumbers";
|
||||
new = "linenr";
|
||||
}
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue