doomemacs/modules/lang/scala/doctor.el
Oleksii Filonenko d2aa2443c2
lang/scala: replace ensime with metals
Ensime just went missing from everywhere.
On [[ensime.github.io]], they encourage to switch to metals -
a new Scala language server already supported by lsp-mode.

This commit:
- removes ensime completely
- adds a doctor.el to check for metals-emacs binary

Original issue: https://discordapp.com/channels/406534637242810369/406554085794381833/628809956103028747
Metals: https://scalameta.org/metals/docs/editors/emacs.html
2019-10-02 10:38:11 +03:00

10 lines
293 B
EmacsLisp

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