doomemacs/modules/lang/scala/doctor.el

14 lines
420 B
EmacsLisp
Raw Normal View History

;;; lang/scala/doctor.el -*- lexical-binding: t; -*-
(assert! (or (not (modulep! +lsp))
(modulep! :tools lsp))
"This module requires (:tools lsp)")
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(if (and (modulep! +lsp)
(not (executable-find "metals")))
(warn! "metals isn't installed"))