mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
29 lines
527 B
Nix
29 lines
527 B
Nix
|
{ 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;
|
||
|
}
|