mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
28 lines
527 B
Nix
28 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;
|
|
}
|