mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +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
|
@ -10,6 +10,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
|
||||
dependencies = [ "flutter" ];
|
||||
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
|
@ -19,8 +21,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
];
|
||||
|
||||
extraConfig = cfg: {
|
||||
dependencies.flutter.enable = lib.mkDefault true;
|
||||
|
||||
warnings = lib.nixvim.mkWarnings "plugins.flutter-tools" {
|
||||
when =
|
||||
(cfg.settings ? debugger.enable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue