Gleb Zakharov

Results 9 comments of Gleb Zakharov

How I resolve this problem in my init.lua: ```lua local util = require('lspconfig/util') local lastRootPath = nil local gopath = os.getenv("GOPATH") if gopath == nil then gopath = "" end...

Yes, I try to achieve the same result: if the user goes to the `/pkg/mod` dir, it should be attached to the previous server instance. Otherwise the new server won't...

By the way I believe vscode choose to attach the `pkg/mod` silently as well as Goland allows you to jump to definitions in modules, although it doesn't use the language...

@mjlbach hi! I also know a little about `go.work` feature, as I see, it can remove necessity of `replace` statements in go.mod and therefore necessity of this issue. But still...

It is the real case from my work, so I would suggest to reopen the issue)

@mjlbach oh, I see, as far as I understand traversing up the filesystem solves slightly different case. Consider an example where someone work at the project not in `$GOPATH`, for...