diff --git a/home/neovim.nix b/home/neovim.nix index 3979eff..9013709 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -268,6 +268,34 @@ in } ''; } + { + plugin = image-nvim; + type = "lua"; + config = /* lua */ '' + require("image").setup({ + backend = "kitty", + integrations = { + markdown = { + enabled = true, + sizing_strategy = "auto", + download_remote_images = false, + clear_in_insert_mode = true, + }, + neorg = { + enabled = false, + }, + }, + max_width = nil, + max_height = nil, + max_width_window_percentage = nil, + max_height_window_percentage = 50, + kitty_method = "normal", + kitty_tmux_write_delay = 10, + window_overlap_clear_enabled = false, + window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "" }, + }) + ''; + } { plugin = git-blame-nvim; type = "lua";