Vim-go: Preload gopls asynchronously

Created on 30 Mar 2019  ·  3Comments  ·  Source: fatih/vim-go

Thank you for adding gopls support to vim-go.

As many may have noticed, the first usage of gopls is very slow, but the successive usages are very fast. Is there a way to perform the heavy preloading task asynchronously when vim starts instead of when gopls is actually accessed for the first time?

Most helpful comment

That will be added in the near future

All 3 comments

That will be added in the near future

Related to this - I enter and exit vim frequently, it would be cool if there was a way to set up gopls to run outside of vim and configure vim to connect to that.

Additionally it would be great if this can be configurable. I use an LSP client and next to vim-go, so it would be nice if I can tell vim-go it should not to try to do any “smart” LSP things to prevent all these actions to be done by two plugins.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

surest picture surest  ·  3Comments

svanharmelen picture svanharmelen  ·  3Comments

MattFlower picture MattFlower  ·  4Comments

smontazeran picture smontazeran  ·  4Comments

andrejvanderzee picture andrejvanderzee  ·  3Comments