jcazevedo / lsp-metals

lsp-mode :heart: metals

Home Page:https://emacs-lsp.github.io/lsp-metals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lsp-metals

metals_logo

CI Gitter

Emacs Scala IDE using lsp-mode to connect to Metals.

Quickstart

An example to setup lsp-metals using use-package:

(use-package lsp-metals
  :ensure t
  :custom
  ;; Metals claims to support range formatting by default but it supports range
  ;; formatting of multiline strings only. You might want to disable it so that
  ;; emacs can use indentation provided by scala-mode.
  (lsp-metals-server-args '("-J-Dmetals.allow-multiline-string-formatting=off"))
  :hook (scala-mode . lsp))

About

lsp-mode :heart: metals

https://emacs-lsp.github.io/lsp-metals

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 99.2%Language:Makefile 0.8%