We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c4e15 commit 33ad2c7Copy full SHA for 33ad2c7
plugins/by-name/flutter-tools/default.nix
@@ -18,6 +18,18 @@ lib.nixvim.plugins.mkNeovimPlugin {
18
};
19
extraConfig = cfg: {
20
extraPackages = [ cfg.flutterPackage ];
21
+
22
+ warnings =
23
+ lib.optional
24
+ (
25
+ (cfg.settings ? debugger.enable)
26
+ && (lib.isBool cfg.settings.debugger.enable)
27
+ && cfg.settings.debugger.enable
28
+ && (!config.plugins.dap.enable)
29
+ )
30
+ ''
31
+ Nixvim (plugins.flutter-tools): You have enabled the dap integration (`settings.debugger.enable`) but `plugins.dap` is disabled.
32
+ '';
33
34
35
settingsOptions = import ./settings-options.nix lib;
0 commit comments