chore(build): auto-generate docs

This commit is contained in:
folke 2024-11-06 09:57:51 +00:00 committed by github-actions[bot]
parent 0ae7da85ae
commit 433f234d70
2 changed files with 15 additions and 14 deletions

View file

@ -1,4 +1,4 @@
*snacks.nvim.txt* For Neovim Last change: 2024 November 05
*snacks.nvim.txt* For Neovim Last change: 2024 November 06
==============================================================================
Table of Contents *snacks.nvim-table-of-contents*
@ -133,11 +133,11 @@ Default Options ~
---@field statuscolumn? snacks.statuscolumn.Config | { enabled: boolean }
---@field terminal? snacks.terminal.Config
---@field toggle? snacks.toggle.Config
---@field views? table<string, snacks.win.Config>
---@field styles? table<string, snacks.win.Config>
---@field win? snacks.win.Config
---@field words? snacks.words.Config
{
views = {},
styles = {},
bigfile = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
@ -183,7 +183,8 @@ See the example below for how to configure `snacks.nvim`.
function()
Snacks.win({
file = vim.api.nvim_get_runtime_file("doc/news.txt", false)[1],
win = { width = 0.6, height = 0.6 },
width = 0.6,
height = 0.6,
wo = {
spell = false,
wrap = false,

View file

@ -61,6 +61,16 @@
}
```
### `split`
```lua
{
position = "bottom",
height = 0.4,
width = 0.4,
}
```
### `float`
```lua
@ -73,16 +83,6 @@
}
```
### `split`
```lua
{
position = "bottom",
height = 0.4,
width = 0.4,
}
```
## 📚 Types
```lua