diff --git a/modules/lang/go/doctor.el b/modules/lang/go/doctor.el index f3010d30c..5a8c4ba3e 100644 --- a/modules/lang/go/doctor.el +++ b/modules/lang/go/doctor.el @@ -22,3 +22,7 @@ (require 'company-go) (unless (executable-find company-go-gocode-command) (warn! "Couldn't find gocode. Code completion won't work"))) + +(when (and (featurep! +lsp) + (not (executable-find "gopls"))) + (warn! "Couldn't find gopls."))