check gopls readiness

pull/47/head
ray-x 3 years ago
parent a3dd6ebcc4
commit 3f41ff3cd4

@ -34,6 +34,14 @@ describe("should run lsp reference", function()
-- allow gopls start
vim.wait(200, function()
end)
local clients = vim.lsp.get_active_clients()
print(vim.inspect(clients))
vim.wait(200, function()
end)
clients = vim.lsp.get_active_clients()
print(vim.inspect(clients))
vim.fn.setpos(".", {bufn, 15, 4, 0}) -- width
vim.bo.filetype = "go"

Loading…
Cancel
Save