Skip to content

Commit

Permalink
remove todo comment and let user know of timer init error
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Oct 16, 2024
1 parent cc3bbf4 commit 2803c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rustaceanvim/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local function restart(bufnr, set_target_callback)
local clients = M.stop(bufnr)
local timer, _, _ = vim.uv.new_timer()
if not timer then
-- TODO: Log error when logging is implemented
vim.notify('Failed to init timer for LSP client restart.', vim.log.levels.ERROR)
return
end
local attempts_to_live = 50
Expand Down

0 comments on commit 2803c7c

Please sign in to comment.