mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/surround: rename to vim-surround
Adding nvim-surround so we need to deprecate the generic name and move it.
This commit is contained in:
parent
061d47f7c5
commit
092d1a8a9c
4 changed files with 31 additions and 13 deletions
|
@ -10,13 +10,31 @@ let
|
|||
- `:PreviewQuery` to open the Query Editor (Nvim 0.10+)
|
||||
'';
|
||||
};
|
||||
renamed = {
|
||||
# Added 2024-09-17
|
||||
surround = "vim-surround";
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = lib.mapAttrsToList (
|
||||
name:
|
||||
lib.mkRemovedOptionModule [
|
||||
"plugins"
|
||||
name
|
||||
]
|
||||
) removed;
|
||||
|
||||
imports =
|
||||
(lib.mapAttrsToList (
|
||||
name:
|
||||
lib.mkRemovedOptionModule [
|
||||
"plugins"
|
||||
name
|
||||
]
|
||||
) removed)
|
||||
++ (lib.mapAttrsToList (
|
||||
old: new:
|
||||
lib.mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
old
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
new
|
||||
]
|
||||
) renamed);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue