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
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +lsp))
|
|
|
|
(modulep! :tools lsp))
|
2019-04-22 03:10:25 -04:00
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +tree-sitter))
|
|
|
|
(modulep! :tools tree-sitter))
|
2021-10-19 19:26:26 +01:00
|
|
|
"This module requires (:tools tree-sitter)")
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :completion company)
|
2018-03-12 13:16:16 -04:00
|
|
|
;; glslangValidator
|
|
|
|
(unless (executable-find "glslangValidator")
|
|
|
|
(warn! "Couldn't find glslangValidator. GLSL code completion is disabled")))
|
2022-08-16 08:17:51 +01:00
|
|
|
|
|
|
|
(when (modulep! :editor format)
|
|
|
|
(unless (executable-find "clang-format")
|
|
|
|
(warn! "Couldn't find clang-format. Formatting will be disabled.")))
|