1
0
forked from extern/nix-config

neovim: Add image-nvim

image-nvim is a new neovim plugin similar to hologram.nvim that adds
support for inline images to neovim.
This commit is contained in:
Donovan Glover 2023-07-17 22:18:02 -04:00
parent 8c10e177f5
commit 9a8b25bb2c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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";