mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor(lsp): tidy up logging
This commit is contained in:
committed by
Lewis Russell
parent
2a7c4aca42
commit
1f9da3d083
@@ -262,9 +262,7 @@ end
|
||||
function M.on_codelens(err, result, ctx, _)
|
||||
if err then
|
||||
active_refreshes[assert(ctx.bufnr)] = nil
|
||||
if log.error() then
|
||||
log.error('codelens', err)
|
||||
end
|
||||
log.error('codelens', err)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user