This commit is contained in:
ray-x 2023-11-01 02:27:55 +11:00
parent d5eac9dffc
commit 8b589ac467

View File

@ -53,7 +53,7 @@ describe('should run gopls releated functions', function()
return false return false
end) end)
require('go.format').goimport() require('go.format').goimport()
vim.wait(200, function() end) vim.wait(1000, function() end)
vim.cmd([[wa]]) vim.cmd([[wa]])
print('workspaces:', vim.inspect(vim.lsp.buf.list_workspace_folders())) print('workspaces:', vim.inspect(vim.lsp.buf.list_workspace_folders()))
local fmt = vim.fn.join(vim.fn.readfile(path), '\n') local fmt = vim.fn.join(vim.fn.readfile(path), '\n')