mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(picker.diff): added showbreak="" for fancy diff. Closes #2441
This commit is contained in:
parent
6121b40a2d
commit
fb55f7bf2b
1 changed files with 3 additions and 2 deletions
|
|
@ -182,11 +182,12 @@ local defaults = {
|
|||
-- terminal: external command (git's pager for git commands, `cmd` for other diffs)
|
||||
style = "fancy", ---@type "fancy"|"syntax"|"terminal"
|
||||
cmd = { "delta" }, -- example for using `delta` as the external diff command
|
||||
---@type vim.wo?|{} window options for the diff preview window
|
||||
---@type vim.wo?|{} window options for the fancy diff preview window
|
||||
wo = {
|
||||
breakindent = true,
|
||||
wrap = true,
|
||||
-- wrap = true, -- inherit from global settings
|
||||
linebreak = true,
|
||||
showbreak = "",
|
||||
},
|
||||
},
|
||||
git = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue