Merge pull request #236 from FrothyMarrow/wezterm-iterm2-backend

images/image-nvim: remove assert for `ueberzug` backend on darwin
This commit is contained in:
raf 2024-02-28 21:00:36 +00:00 committed by GitHub
commit 685a6eaade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,13 +11,6 @@
cfg = config.vim.utility.images.image-nvim; cfg = config.vim.utility.images.image-nvim;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [
{
assertion = pkgs.stdenv.isDarwin && cfg.setupOpts.backend != "ueberzug";
message = "image-nvim: ueberzug backend is broken on ${pkgs.stdenv.hostPlatform.system}. if you are using kitty, please set `vim.utility.images.image-nvim.setupOpts.backend` option to `kitty` in your configuration, otherwise disable this module.";
}
];
vim = { vim = {
startPlugins = [ startPlugins = [
"image-nvim" "image-nvim"