Files
doomemacs/modules/lang/go/doctor.el
2018-03-20 21:12:35 -04:00

13 lines
429 B
EmacsLisp

;;; lang/go/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "guru")
(warn! "Couldn't find guru. Refactoring commands (go-guru-*) won't work"))
(unless (executable-find "gore")
(warn! "Couldn't find gore. REPL will not work"))
(when (featurep! :completion company)
(require 'company-go)
(unless (executable-find command-go-gocode-command)
(warn! "Couldn't find gocode. Code completion won't work")))