dotfiles/emacs/.emacs.d/config/init-scala.el

12 lines
413 B
EmacsLisp
Raw Normal View History

2021-10-05 15:08:42 +00:00
;; -*- lexical-binding: t; -*-
(use-package lsp-metals
:hook (scala-mode . lsp)
: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")))
(provide 'init-scala)