mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
docs: docgen
This commit is contained in:
parent
bd6a62af12
commit
b82816e3ea
6 changed files with 38 additions and 15 deletions
|
@ -168,11 +168,11 @@ Snacks.picker.pick({source = "files", ...})
|
|||
---@class snacks.picker.previewers.Config
|
||||
previewers = {
|
||||
diff = {
|
||||
native = false, -- use native (terminal) or Neovim for previewing git diffs and commits
|
||||
builtin = true, -- use Neovim for previewing diffs (true) or use an external tool (false)
|
||||
cmd = { "delta" }, -- example to show a diff with delta
|
||||
},
|
||||
git = {
|
||||
native = false, -- use native (terminal) or Neovim for previewing git diffs and commits
|
||||
builtin = true, -- use Neovim for previewing git output (true) or use git (false)
|
||||
args = {}, -- additional arguments passed to the git command. Useful to set pager options usin `-c ...`
|
||||
},
|
||||
file = {
|
||||
|
@ -1094,7 +1094,7 @@ Neovim commands
|
|||
{
|
||||
finder = "git_diff",
|
||||
format = "file",
|
||||
preview = "preview",
|
||||
preview = "diff",
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue