mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-14 21:11:09 +01:00
treewide: remove old deprecation warnings
This commit is contained in:
parent
629f9d75f8
commit
8441008175
72 changed files with 4 additions and 1506 deletions
|
|
@ -19,43 +19,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-12-12: remove after 25.05
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"lazyLoading"
|
||||
[
|
||||
"logger"
|
||||
"plugin"
|
||||
]
|
||||
[
|
||||
"logger"
|
||||
"useConsole"
|
||||
]
|
||||
[
|
||||
"logger"
|
||||
"highlights"
|
||||
]
|
||||
[
|
||||
"logger"
|
||||
"useFile"
|
||||
]
|
||||
[
|
||||
"logger"
|
||||
"level"
|
||||
]
|
||||
[
|
||||
"logger"
|
||||
"floatPrecision"
|
||||
]
|
||||
{
|
||||
old = "modules";
|
||||
new = "load";
|
||||
}
|
||||
];
|
||||
imports = [
|
||||
./deprecations.nix
|
||||
];
|
||||
|
||||
extraOptions = {
|
||||
telescopeIntegration = {
|
||||
enable = lib.mkEnableOption "`neorg-telescope` plugin for telescope integration.";
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
basePluginPath = [
|
||||
"plugins"
|
||||
"neorg"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule (
|
||||
basePluginPath
|
||||
++ [
|
||||
"logger"
|
||||
"modes"
|
||||
]
|
||||
) "Please use `settings.logger.modes` but you now need to provide a list of submodules.")
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "neorgTelescopePackage" ]) (
|
||||
basePluginPath
|
||||
++ [
|
||||
"telescopeIntegration"
|
||||
"package"
|
||||
]
|
||||
))
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue