From 7b7940bb3754fdf1949defff0cf43e78cfd40223 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Sat, 16 Apr 2022 17:51:21 +0300 Subject: [PATCH] docs(go): disable gocode doctor check if lsp is on --- modules/lang/go/doctor.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/go/doctor.el b/modules/lang/go/doctor.el index a179fb5c9..f3010d30c 100644 --- a/modules/lang/go/doctor.el +++ b/modules/lang/go/doctor.el @@ -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")))