docs(go): disable gocode doctor check if lsp is on

This commit is contained in:
Itai Y. Efrat 2022-04-16 17:51:21 +03:00 committed by Henrik Lissner
parent d501b48f2e
commit 7b7940bb37

View file

@ -17,7 +17,8 @@
(unless (executable-find "gomodifytags")
(warn! "Couldn't find gomodifytags. Manipulating struct tags will not work"))
(when (featurep! :completion company)
(when (and (featurep! :completion company)
(not (featurep! +lsp)))
(require 'company-go)
(unless (executable-find company-go-gocode-command)
(warn! "Couldn't find gocode. Code completion won't work")))