Back to articles
April 5, 2025

Install gopls

Solves an issue where gopls hung in vim on Ubuntu and CentOS

Vim hung with this a bottom of vim window:

vim-go: initializing gopls

ensure you're running the the latest go version, this worked for me on go1.16.3

go get golang.org/x/tools/gopls@latest
Loading comments...