mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 13:15:08 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
39bf5131c4
commit
0d3bb4213f
4 changed files with 68 additions and 4 deletions
18
README.md
18
README.md
|
@ -133,7 +133,23 @@ Please refer to the readme of each plugin for their specific configuration.
|
|||
{
|
||||
image = {
|
||||
-- define these here, so that we don't need to load the image module
|
||||
formats = { "png", "jpg", "jpeg", "gif", "bmp", "webp", "tiff", "heic", "avif", "mp4", "mov", "avi", "mkv", "webm" },
|
||||
formats = {
|
||||
"png",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"gif",
|
||||
"bmp",
|
||||
"webp",
|
||||
"tiff",
|
||||
"heic",
|
||||
"avif",
|
||||
"mp4",
|
||||
"mov",
|
||||
"avi",
|
||||
"mkv",
|
||||
"webm",
|
||||
"pdf",
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
|
|
@ -199,7 +199,23 @@ Default Options ~
|
|||
{
|
||||
image = {
|
||||
-- define these here, so that we don't need to load the image module
|
||||
formats = { "png", "jpg", "jpeg", "gif", "bmp", "webp", "tiff", "heic", "avif", "mp4", "mov", "avi", "mkv", "webm" },
|
||||
formats = {
|
||||
"png",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"gif",
|
||||
"bmp",
|
||||
"webp",
|
||||
"tiff",
|
||||
"heic",
|
||||
"avif",
|
||||
"mp4",
|
||||
"mov",
|
||||
"avi",
|
||||
"mkv",
|
||||
"webm",
|
||||
"pdf",
|
||||
},
|
||||
},
|
||||
}
|
||||
<
|
||||
|
|
|
@ -73,7 +73,23 @@ In case of issues, make sure to run `:checkhealth snacks`.
|
|||
--- When `nil`, the path is resolved relative to the file.
|
||||
---@field resolve? fun(file: string, src: string): string?
|
||||
{
|
||||
formats = { "png", "jpg", "jpeg", "gif", "bmp", "webp", "tiff", "heic", "avif", "mp4", "mov", "avi", "mkv", "webm" },
|
||||
formats = {
|
||||
"png",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"gif",
|
||||
"bmp",
|
||||
"webp",
|
||||
"tiff",
|
||||
"heic",
|
||||
"avif",
|
||||
"mp4",
|
||||
"mov",
|
||||
"avi",
|
||||
"mkv",
|
||||
"webm",
|
||||
"pdf",
|
||||
},
|
||||
force = false, -- try displaying the image, even if the terminal does not support it
|
||||
doc = {
|
||||
-- enable image viewer for documents
|
||||
|
|
18
docs/init.md
18
docs/init.md
|
@ -35,7 +35,23 @@
|
|||
{
|
||||
image = {
|
||||
-- define these here, so that we don't need to load the image module
|
||||
formats = { "png", "jpg", "jpeg", "gif", "bmp", "webp", "tiff", "heic", "avif", "mp4", "mov", "avi", "mkv", "webm" },
|
||||
formats = {
|
||||
"png",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"gif",
|
||||
"bmp",
|
||||
"webp",
|
||||
"tiff",
|
||||
"heic",
|
||||
"avif",
|
||||
"mp4",
|
||||
"mov",
|
||||
"avi",
|
||||
"mkv",
|
||||
"webm",
|
||||
"pdf",
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue