mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 11:44:32 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -164,6 +164,13 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"progress"
|
||||
"minimizedBorder"
|
||||
]
|
||||
{
|
||||
old = "lspRenameAutosave";
|
||||
new = [
|
||||
"lsp_file_method"
|
||||
"autosave_changes"
|
||||
];
|
||||
}
|
||||
];
|
||||
imports =
|
||||
let
|
||||
|
@ -171,19 +178,11 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"plugins"
|
||||
"oil"
|
||||
];
|
||||
settingsPath = basePluginPath ++ [ "settings" ];
|
||||
in
|
||||
[
|
||||
(mkRemovedOptionModule (
|
||||
basePluginPath ++ [ "columns" ]
|
||||
) "Use `plugins.oil.settings.columns` instead but beware, the format has changed.")
|
||||
(mkRenamedOptionModule (basePluginPath ++ [ "lspRenameAutosave" ]) (
|
||||
settingsPath
|
||||
++ [
|
||||
"lsp_file_method"
|
||||
"autosave_changes"
|
||||
]
|
||||
))
|
||||
(mkRemovedOptionModule (
|
||||
basePluginPath ++ [ "trashCommand" ]
|
||||
) "This option has been deprecated by upstream.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue