doomemacs/modules/lang/cc/doctor.el

18 lines
642 B
EmacsLisp
Raw Normal View History

2018-03-21 09:19:37 +08:00
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/cc/doctor.el
;; rtags
(let ((bins (cl-remove-if #'executable-find '("rdm" "rc"))))
(when (/= (length bins) 0)
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support" bins)))
;; irony server
(when (require 'irony nil t)
(unless (file-directory-p irony-server-install-prefix)
(warn! "Irony server isn't installed. Run M-x irony-install-server")))
(when (featurep! :completion company)
;; glslangValidator
(unless (executable-find "glslangValidator")
(warn! "Couldn't find glslangValidator. GLSL code completion is disabled")))