mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
This commit is contained in:
parent
5f45a596fc
commit
72826a72de
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ function M.undo(opts, ctx)
|
|||
end)
|
||||
vim.o.eventignore = ei
|
||||
|
||||
local diff = vim.diff(table.concat(before, "\n"), table.concat(after, "\n"), opts.diff) --[[@as string]]
|
||||
local diff = vim.diff(table.concat(before, "\n") .. "\n", table.concat(after, "\n") .. "\n", opts.diff) --[[@as string]]
|
||||
local changes = {} ---@type string[]
|
||||
local added, removed = 0, 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue