lsp-go Go support for lsp-mode using Sourcegraph's Go Language Server Configuration You will need to call lsp-go-enable when editing .go files. You can use the following in your Emacs init file: (add-hook 'go-mode-hook #'lsp-go-enable)