mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/molten: add wezterm as image provider
This commit is contained in:
parent
abe2211aef
commit
1702f24074
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
helpers,
|
||||||
...
|
...
|
||||||
|
@ -80,6 +81,7 @@ mkVimPlugin {
|
||||||
[
|
[
|
||||||
"none"
|
"none"
|
||||||
"image.nvim"
|
"image.nvim"
|
||||||
|
"wezterm"
|
||||||
]
|
]
|
||||||
''
|
''
|
||||||
How images are displayed.
|
How images are displayed.
|
||||||
|
@ -236,5 +238,13 @@ mkVimPlugin {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = cfg: { extraPython3Packages = cfg.python3Dependencies; };
|
extraConfig = cfg: {
|
||||||
|
extraPython3Packages = cfg.python3Dependencies;
|
||||||
|
|
||||||
|
warnings =
|
||||||
|
lib.optional (cfg.settings.image_provider == "wezterm" && !config.plugins.wezterm.enable)
|
||||||
|
''
|
||||||
|
Nixvim (plugins.molten): The `wezterm` plugin is not enabled, so the `molten` plugin's `image_provider` setting will have no effect.
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue