mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
0ae7da85ae
commit
433f234d70
2 changed files with 15 additions and 14 deletions
|
@ -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,
|
||||
|
|
20
docs/win.md
20
docs/win.md
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue