2019-10-02 10:29:11 +03:00
|
|
|
;;; lang/scala/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(assert! (or (not (modulep! +lsp))
|
|
|
|
(modulep! :tools lsp))
|
2019-10-02 10:29:11 +03: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
|
|
|
(if (and (modulep! +lsp)
|
2019-10-02 10:29:11 +03:00
|
|
|
(not (executable-find "metals-emacs")))
|
|
|
|
(warn! "metals-emacs isn't installed"))
|