mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -33,32 +33,21 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
optionsRenamedToSettings = [
|
||||
"xdg"
|
||||
"autoStart"
|
||||
];
|
||||
imports =
|
||||
let
|
||||
basePath = [
|
||||
"plugins"
|
||||
"coq-nvim"
|
||||
{
|
||||
old = "recommendedKeymaps";
|
||||
new = [
|
||||
"keymap"
|
||||
"recommended"
|
||||
];
|
||||
settingsPath = basePath ++ [ "settings" ];
|
||||
in
|
||||
[
|
||||
(lib.mkRenamedOptionModule (basePath ++ [ "recommendedKeymaps" ]) (
|
||||
settingsPath
|
||||
++ [
|
||||
"keymap"
|
||||
"recommended"
|
||||
]
|
||||
))
|
||||
|
||||
(lib.mkRenamedOptionModule (basePath ++ [ "alwaysComplete" ]) (
|
||||
settingsPath
|
||||
++ [
|
||||
"completion"
|
||||
"always"
|
||||
]
|
||||
))
|
||||
];
|
||||
}
|
||||
{
|
||||
old = "alwaysComplete";
|
||||
new = [
|
||||
"completion"
|
||||
"always"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
callSetup = false;
|
||||
settingsOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue