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:
Oleksii Filonenko 2019-10-02 10:29:11 +03:00
parent 3f7e0fd103
commit d2aa2443c2
No known key found for this signature in database
GPG key ID: F3510FE5691629A1
3 changed files with 9 additions and 23 deletions

View file

@ -3,9 +3,3 @@
(package! sbt-mode)
(package! scala-mode)
(unless (featurep! +lsp)
;; Fix #1697: Ensime doesn't have a master branch and its MELPA recipe doesn't
;; specify a branch. Straight can't handle packages with non-standard primary
;; branches (at the time of writing), so we must specify it manually:
(package! ensime :recipe (:branch "2.0")))