gopls
This commit is contained in:
parent
8a30fb7267
commit
626842d86e
@ -45,6 +45,8 @@ describe('should run gopls releated functions', function()
|
||||
end)
|
||||
it('should run import from file with gopls', function()
|
||||
require('plenary.reload').reload_module('go.nvim')
|
||||
|
||||
require('go').setup({ goimport = 'gopls', verbose = true, log_path = '', lsp_cfg = true })
|
||||
local cmd = " silent exe 'e temp.go'"
|
||||
vim.cmd(cmd)
|
||||
_GO_NVIM_CFG.log_path = '' -- enable log to console
|
||||
|
Loading…
Reference in New Issue
Block a user