refactor(scala): remove redundant config

Amend: c5dd2847ff
This commit is contained in:
Henrik Lissner
2025-08-30 10:20:37 +02:00
parent bcb2c56dd9
commit d77d39ab46
2 changed files with 1 additions and 11 deletions

View File

@@ -65,12 +65,6 @@
:config
(when (modulep! +lsp)
(setq-hook! 'scala-ts-mode-hook lsp-enable-indentation nil)
(add-hook 'scala-ts-mode-local-vars-hook #'lsp! 'append))
(setq-hook! 'scala-ts-mode-hook lsp-enable-indentation nil))
(+scala-common-config 'scala-ts-mode))
(use-package! sbt-mode
:after scala-mode
:config (set-repl-handler! '(scala-mode scala-ts-mode) #'+scala/open-repl :persist t))

View File

@@ -8,10 +8,6 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(version< emacs-version "29.1"))
"Emacs 29.1+ is required for tree-sitter support")
(if (and (modulep! +lsp)
(not (executable-find "metals")))
(warn! "metals isn't installed"))