1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:28:35 -06:00

gopls/doc: remove company-lsp from emacs.md

- company-lsp is no longer supported from version 6.3 of lsp-mode
- https://emacs-lsp.github.io/lsp-mode/page/CHANGELOG/#release-63

Change-Id: Ia8c154b4d4da2e8d8b3e0d6500c6b7d02dc27dd0
GitHub-Last-Rev: b71f06693aa7d034c8c26cd58725689e0e795bd7
GitHub-Pull-Request: golang/tools#228
Reviewed-on: https://go-review.googlesource.com/c/tools/+/233162
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
Bhavin Gandhi 2020-05-10 17:50:30 +00:00 committed by Rebecca Stambler
parent 1762287ae9
commit 9abf76cc03

View File

@ -28,12 +28,6 @@ Use [lsp-mode]. gopls is built in as a client. You first must install `gopls` an
(setq company-idle-delay 0)
(setq company-minimum-prefix-length 1))
;; company-lsp integrates company mode completion with lsp-mode.
;; completion-at-point also works out of the box but doesn't support snippets.
(use-package company-lsp
:ensure t
:commands company-lsp)
;; Optional - provides snippet support.
(use-package yasnippet
:ensure t
@ -64,7 +58,7 @@ Note that after changing settings you must restart gopls using e.g. `M-x lsp-res
Common errors:
- When prompted by Emacs for your project folder, if you are using modules you must select the module's root folder (i.e. the directory with the "go.mod"). If you are using GOPATH, select your $GOPATH as your folder.
- Emacs must have your environment set properly (PATH, GOPATH, etc). You can run `M-x getenv <RET> PATH <RET>` to see if your PATH is set in Emacs. If not, you can try starting Emacs from your terminal, using [this package][exec-path-from-shell], or moving your shell config from .bashrc into .bashenv (or .zshenv).
- Make sure `lsp-mode`, `lsp-ui` and `company-lsp` are up-to-date, and make sure `lsp-go` is _not_ installed.
- Make sure `lsp-mode` and `lsp-ui` are up-to-date, also make sure `lsp-go` and `company-lsp` are _not_ installed.
- Look for errors in the `*lsp-log*` buffer.
- Ask for help in the #emacs channel on the [Gophers slack].