2024-01-18 16:55:35 +01:00
|
|
|
{
|
2023-12-29 11:29:26 +01:00
|
|
|
empty = {
|
|
|
|
# At runtime, the plugin tries to get the size of the terminal which doesn't exist in the
|
|
|
|
# headless environment.
|
2024-08-20 00:44:25 +01:00
|
|
|
test.runNvim = false;
|
2023-12-29 11:29:26 +01:00
|
|
|
|
2024-01-18 16:55:35 +01:00
|
|
|
plugins.image.enable = true;
|
2023-12-29 11:29:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
defaults = {
|
|
|
|
# At runtime, the plugin tries to get the size of the terminal which doesn't exist in the
|
|
|
|
# headless environment.
|
2024-08-20 00:44:25 +01:00
|
|
|
test.runNvim = false;
|
2023-12-29 11:29:26 +01:00
|
|
|
|
|
|
|
plugins.image = {
|
2024-01-18 16:55:35 +01:00
|
|
|
enable = true;
|
2023-12-29 11:29:26 +01:00
|
|
|
|
2025-03-20 13:33:28 +01:00
|
|
|
settings = {
|
|
|
|
backend = "kitty";
|
|
|
|
processor = "magick_rock";
|
|
|
|
integrations = {
|
|
|
|
markdown.enabled = true;
|
|
|
|
typst.enabled = true;
|
|
|
|
neorg.enabled = true;
|
|
|
|
syslang.enabled = true;
|
|
|
|
html.enabled = false;
|
|
|
|
css.enabled = false;
|
2023-12-29 11:29:26 +01:00
|
|
|
};
|
2025-03-20 13:33:28 +01:00
|
|
|
max_width = null;
|
|
|
|
max_height = null;
|
|
|
|
max_width_window_percentage = 100;
|
|
|
|
max_height_window_percentage = 50;
|
|
|
|
scale_factor = 1.0;
|
|
|
|
kitty_method = "normal";
|
|
|
|
window_overlap_clear_enabled = false;
|
|
|
|
window_overlap_clear_ft_ignore = [
|
|
|
|
"cmp_menu"
|
|
|
|
"cmp_docs"
|
|
|
|
"snacks_notif"
|
|
|
|
"scrollview"
|
|
|
|
"scrollview_sign"
|
|
|
|
];
|
|
|
|
editor_only_render_when_focused = false;
|
|
|
|
tmux_show_only_in_active_window = false;
|
|
|
|
hijack_file_patterns = [
|
|
|
|
"*.png"
|
|
|
|
"*.jpg"
|
|
|
|
"*.jpeg"
|
|
|
|
"*.gif"
|
|
|
|
"*.webp"
|
|
|
|
"*.avif"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
|
|
|
# At runtime, the plugin tries to get the size of the terminal which doesn't exist in the
|
|
|
|
# headless environment.
|
|
|
|
test.runNvim = false;
|
|
|
|
|
|
|
|
plugins.image = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
backend = "kitty";
|
|
|
|
max_width = 100;
|
|
|
|
max_height = 12;
|
|
|
|
max_height_window_percentage.__raw = "math.huge";
|
|
|
|
max_width_window_percentage.__raw = "math.huge";
|
|
|
|
window_overlap_clear_enabled = true;
|
|
|
|
window_overlap_clear_ft_ignore = [
|
|
|
|
"cmp_menu"
|
|
|
|
"cmp_docs"
|
|
|
|
""
|
|
|
|
];
|
2023-12-29 11:29:26 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ueberzug-backend = {
|
|
|
|
# At runtime, the plugin tries to get the size of the terminal which doesn't exist in the
|
|
|
|
# headless environment.
|
2024-08-20 00:44:25 +01:00
|
|
|
test.runNvim = false;
|
2023-12-29 11:29:26 +01:00
|
|
|
|
|
|
|
plugins.image = {
|
2024-01-18 16:55:35 +01:00
|
|
|
enable = true;
|
2025-03-20 13:33:28 +01:00
|
|
|
settings.backend = "ueberzug";
|
2023-12-29 11:29:26 +01:00
|
|
|
};
|
|
|
|
};
|
2024-08-30 20:00:57 -05:00
|
|
|
|
|
|
|
no-packages = {
|
|
|
|
test.runNvim = false;
|
|
|
|
|
2025-04-06 17:17:51 +02:00
|
|
|
dependencies = {
|
|
|
|
curl.enable = false;
|
2025-04-06 17:21:36 +02:00
|
|
|
ueberzug.enable = false;
|
2025-04-06 17:17:51 +02:00
|
|
|
};
|
2024-08-30 20:00:57 -05:00
|
|
|
plugins.image = {
|
|
|
|
enable = true;
|
2025-03-20 13:33:28 +01:00
|
|
|
settings.backend = "kitty";
|
2024-08-30 20:00:57 -05:00
|
|
|
};
|
|
|
|
};
|
2023-12-29 11:29:26 +01:00
|
|
|
}
|