mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-15 21:41:11 +01:00
plugins/lspkind: migrate to mkNeovimPlugin
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
346ebc9c18
commit
0049aca693
2 changed files with 55 additions and 70 deletions
17
plugins/by-name/lspkind/deprecations.nix
Normal file
17
plugins/by-name/lspkind/deprecations.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
lib: {
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings =
|
||||
let
|
||||
mkOptionPaths = map (lib.splitString ".");
|
||||
in
|
||||
mkOptionPaths [
|
||||
"mode"
|
||||
"preset"
|
||||
"maxWidth"
|
||||
"symbolMap"
|
||||
|
||||
"cmp.maxWidth"
|
||||
"cmp.ellipsisChar"
|
||||
"cmp.menu"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue