Skip to content

Commit cc9cf57

Browse files
committed
fix(notify): do not send err on info/warn (closes #2211)
1 parent 86e3ba8 commit cc9cf57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function M.notify(lvl, ...)
183183
local function nvim_echo()
184184
local echo_opts = {
185185
verbose = false,
186-
err = M.__HAS_NVIM_011 and vim.log.levels.ERROR and true or nil,
186+
err = M.__HAS_NVIM_011 and lvl == vim.log.levels.ERROR and true or nil,
187187
}
188188
vim.api.nvim_echo(chunks, true, echo_opts)
189189
end

0 commit comments

Comments
 (0)