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:
parent
8c10e177f5
commit
9a8b25bb2c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user