doomemacs/modules/lang/go/doctor.el
Sean Dawson e51e483c86 Small fixes for go-mode:
- Fixed typo for gocode command in `doctor.el`
- Only enable flycheck mode if the syntax-checker feature is enabled
2018-05-25 21:17:13 -04:00

13 lines
452 B
EmacsLisp

;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/go/doctor.el
(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 company-go-gocode-command)
(warn! "Couldn't find gocode. Code completion won't work")))