mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 10:14:31 +02:00
plugins/*: use new mkSettingsRenamedOptionModules
This commit is contained in:
parent
0ddf6e39ac
commit
c179d47d3d
37 changed files with 1176 additions and 1510 deletions
|
@ -32,6 +32,10 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"shouldAttach"
|
||||
"tempDir"
|
||||
"updateInInsert"
|
||||
{
|
||||
old = "sourcesItems";
|
||||
new = "sources";
|
||||
}
|
||||
];
|
||||
|
||||
imports =
|
||||
|
@ -45,12 +49,10 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
namespace
|
||||
"none-ls"
|
||||
];
|
||||
settingsPath = basePluginPath ++ [ "settings" ];
|
||||
in
|
||||
[
|
||||
./sources.nix
|
||||
(lib.mkRenamedOptionModule oldPluginPath basePluginPath)
|
||||
(lib.mkRenamedOptionModule (basePluginPath ++ [ "sourcesItems" ]) (settingsPath ++ [ "sources" ]))
|
||||
];
|
||||
|
||||
settingsExample = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue