fix(notify): Expected 3 arguments error (#13905)

This commit is contained in:
notomo
2021-02-09 19:41:02 +09:00
committed by GitHub
parent 8becdec391
commit 971e0ca903
2 changed files with 5 additions and 2 deletions

View File

@@ -500,7 +500,7 @@ function vim.notify(msg, log_level, _opts)
if log_level == vim.log.levels.ERROR then
vim.api.nvim_err_writeln(msg)
else
vim.api.nvim_echo(msg)
vim.api.nvim_echo({{msg}}, true, {})
end
end