Skip to content

Commit 816cd34

Browse files
marcomayerRobitx
authored andcommitted
remote \n from info logs to avoid needing user input
With \n neovim waits for user-input (press Enter) on messages which can be annoying. Removing it fixes this.
1 parent 66690de commit 816cd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gp/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ end
531531
M._log = function(msg, kind, history)
532532
vim.schedule(function()
533533
vim.api.nvim_echo({
534-
{ M._Name .. ": " .. msg .. "\n", kind },
534+
{ M._Name .. ": " .. msg, kind },
535535
}, history, {})
536536
end)
537537
end

0 commit comments

Comments
 (0)