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.
|
|
|
|
tests.dontRun = true;
|
|
|
|
|
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.
|
|
|
|
tests.dontRun = true;
|
|
|
|
|
|
|
|
plugins.image = {
|
2024-01-18 16:55:35 +01:00
|
|
|
enable = true;
|
2023-12-29 11:29:26 +01:00
|
|
|
|
|
|
|
backend = "kitty";
|
|
|
|
integrations = {
|
|
|
|
markdown = {
|
|
|
|
enabled = true;
|
|
|
|
clearInInsertMode = false;
|
|
|
|
downloadRemoteImages = true;
|
|
|
|
onlyRenderImageAtCursor = false;
|
|
|
|
filetypes = ["markdown" "vimwiki"];
|
|
|
|
};
|
|
|
|
neorg = {
|
|
|
|
enabled = true;
|
|
|
|
clearInInsertMode = false;
|
|
|
|
downloadRemoteImages = true;
|
|
|
|
onlyRenderImageAtCursor = false;
|
|
|
|
filetypes = ["norg"];
|
|
|
|
};
|
|
|
|
syslang = {
|
|
|
|
enabled = true;
|
|
|
|
clearInInsertMode = false;
|
|
|
|
downloadRemoteImages = true;
|
|
|
|
onlyRenderImageAtCursor = false;
|
|
|
|
filetypes = ["syslang"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
maxWidth = null;
|
|
|
|
maxHeight = null;
|
|
|
|
maxWidthWindowPercentage = null;
|
|
|
|
maxHeightWindowPercentage = 50;
|
|
|
|
windowOverlapClearEnabled = false;
|
|
|
|
windowOverlapClearFtIgnore = ["cmp_menu" "cmp_docs" ""];
|
|
|
|
editorOnlyRenderWhenFocused = false;
|
|
|
|
tmuxShowOnlyInActiveWindow = false;
|
|
|
|
hijackFilePatterns = ["*.png" "*.jpg" "*.jpeg" "*.gif" "*.webp"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ueberzug-backend = {
|
|
|
|
# At runtime, the plugin tries to get the size of the terminal which doesn't exist in the
|
|
|
|
# headless environment.
|
|
|
|
tests.dontRun = true;
|
|
|
|
|
|
|
|
plugins.image = {
|
2024-01-18 16:55:35 +01:00
|
|
|
enable = true;
|
2023-12-29 11:29:26 +01:00
|
|
|
backend = "ueberzug";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|