mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(diagnostic): nvim_echo takes three args (#15687)
Fixup for https://github.com/neovim/neovim/pull/15585 Closes https://github.com/neovim/neovim/issues/15686
This commit is contained in:
parent
c13242cf47
commit
4881456e83
@ -631,7 +631,7 @@ local function diagnostic_move_pos(opts, pos)
|
||||
local win_id = opts.win_id or vim.api.nvim_get_current_win()
|
||||
|
||||
if not pos then
|
||||
vim.api.nvim_echo({"No more valid diagnostics to move to", "WarningMsg"})
|
||||
vim.api.nvim_echo({{"No more valid diagnostics to move to", "WarningMsg"}}, true, {})
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user