mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-29 23:25:37 +02:00
plugins/neorg: switch to mkNeovimPlugin
This commit is contained in:
parent
c0550513b3
commit
2b5a4a3896
3 changed files with 296 additions and 197 deletions
32
plugins/by-name/neorg/deprecations.nix
Normal file
32
plugins/by-name/neorg/deprecations.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
basePluginPath = [
|
||||
"plugins"
|
||||
"neorg"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "modules" ]) (
|
||||
basePluginPath
|
||||
++ [
|
||||
"settings"
|
||||
"load"
|
||||
]
|
||||
))
|
||||
(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