mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +02:00
plugins/ui: move to by-name
This commit is contained in:
parent
2456370ab2
commit
91c6b62881
25 changed files with 0 additions and 13 deletions
77
tests/test-sources/plugins/by-name/image/default.nix
Normal file
77
tests/test-sources/plugins/by-name/image/default.nix
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
empty = {
|
||||
# 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;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
# 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;
|
||||
|
||||
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.
|
||||
test.runNvim = false;
|
||||
|
||||
plugins.image = {
|
||||
enable = true;
|
||||
backend = "ueberzug";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue