plugins/lastplace: migrate to mkNeovimPlugin

This commit is contained in:
Austin Horstman 2025-02-01 17:37:51 -06:00
parent a3eed84e1e
commit 10ea28fff4
No known key found for this signature in database
3 changed files with 74 additions and 43 deletions

View file

@ -0,0 +1,28 @@
{ lib }:
{
imports =
let
basePath = [
"plugins"
"lastplace"
];
settingsPath = basePath ++ [ "settings" ];
in
lib.nixvim.mkSettingsRenamedOptionModules basePath settingsPath [
{
old = "ignoreBuftype";
new = "lastplace_ignore_buftype";
}
{
old = "ignoreFiletype";
new = "lastplace_ignore_filetype";
}
{
old = "openFolds";
new = "lastplace_open_folds";
}
];
deprecateExtraOptions = true;
}