Skip to content

Commit 8de846a

Browse files
committed
fix(yankthings): add newline after wrapped code in visual selection formatter
1 parent 5320f19 commit 8de846a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/dcai/keymaps/yankthings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ local function format_visual_selection()
5858
vim.bo.filetype
5959
)
6060
local code = table.concat(lines, '\n')
61-
return header .. vim.g.nl .. wrapcode(code)
61+
return header .. vim.g.nl .. wrapcode(code) .. vim.g.nl
6262
end
6363

6464
local function send_to_tmux_last_pane(text)

0 commit comments

Comments
 (0)