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: 6288099561
Metals: https://scalameta.org/metals/docs/editors/emacs.html
This commit is contained in:
parent
3f7e0fd103
commit
d2aa2443c2
3 changed files with 9 additions and 23 deletions
9
modules/lang/scala/doctor.el
Normal file
9
modules/lang/scala/doctor.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; 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"))
|
Loading…
Add table
Add a link
Reference in a new issue