mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 22:52:42 +00:00
refactor(lsp): tidy up logging
This commit is contained in:
committed by
Lewis Russell
parent
2a7c4aca42
commit
1f9da3d083
@@ -22,9 +22,7 @@ local augroup = api.nvim_create_augroup('vim_lsp_inlayhint', {})
|
||||
---@private
|
||||
function M.on_inlayhint(err, result, ctx, _)
|
||||
if err then
|
||||
if log.error() then
|
||||
log.error('inlayhint', err)
|
||||
end
|
||||
log.error('inlayhint', err)
|
||||
return
|
||||
end
|
||||
local bufnr = assert(ctx.bufnr)
|
||||
|
||||
Reference in New Issue
Block a user