Skip to content

Commit

Permalink
fix: deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
YogiPristiawan authored Apr 18, 2024
1 parent 36abe1d commit a7737b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dap-go-ts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ M.closest_test = function()
end

M.get_root_dir = function()
local id, client = next(vim.lsp.buf_get_clients())
local id, client = next(vim.lsp.get_active_client())
if id == nil then
error({ error_msg = "lsp client not attached" })
end
Expand Down

0 comments on commit a7737b0

Please sign in to comment.