Skip to content

Commit

Permalink
remote \n from info logs to avoid needing user input
Browse files Browse the repository at this point in the history
With \n neovim waits for user-input (press Enter) on messages which can be annoying. Removing it fixes this.
  • Loading branch information
marcomayer authored and Robitx committed Feb 3, 2024
1 parent 66690de commit 816cd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ end
M._log = function(msg, kind, history)
vim.schedule(function()
vim.api.nvim_echo({
{ M._Name .. ": " .. msg .. "\n", kind },
{ M._Name .. ": " .. msg, kind },
}, history, {})
end)
end
Expand Down

0 comments on commit 816cd34

Please sign in to comment.