2018-03-20 21:19:37 -04:00
|
|
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
|
|
;;; lang/cc/doctor.el
|
2018-03-12 13:16:16 -04:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
|
|
(featurep! :tools lsp))
|
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
2019-02-27 12:49:33 +05:30
|
|
|
(when (require 'rtags nil t)
|
|
|
|
;; rtags
|
2019-10-23 16:07:59 -04:00
|
|
|
(when-let (bins (cl-remove-if #'rtags-executable-find
|
|
|
|
(list rtags-rdm-binary-name
|
|
|
|
rtags-rc-binary-name)))
|
|
|
|
(warn! "Couldn't find the rtag client and/or server programs %s. Disabling rtags support"
|
|
|
|
bins)))
|
2018-03-12 13:16:16 -04:00
|
|
|
|
|
|
|
;; irony server
|
2018-05-25 00:46:11 +02:00
|
|
|
(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")))
|
2018-03-12 13:16:16 -04:00
|
|
|
|
|
|
|
(when (featurep! :completion company)
|
|
|
|
;; glslangValidator
|
|
|
|
(unless (executable-find "glslangValidator")
|
|
|
|
(warn! "Couldn't find glslangValidator. GLSL code completion is disabled")))
|