mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins: use mk{Neovim,Vim}Plugin's dependencies parameter
This commit is contained in:
parent
b66559d8ef
commit
1a64636839
49 changed files with 147 additions and 207 deletions
|
@ -15,6 +15,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = import ./renamed-options.nix;
|
||||
|
||||
dependencies = [ "rust-analyzer" ];
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
|
@ -56,8 +57,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
cfg:
|
||||
mkMerge [
|
||||
{
|
||||
dependencies.rust-analyzer.enable = lib.mkDefault true;
|
||||
|
||||
globals.rustaceanvim = cfg.settings;
|
||||
|
||||
assertions = lib.nixvim.mkAssertions "plugins.rustaceanvim" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue