mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
@@ -65,12 +65,6 @@
|
|||||||
|
|
||||||
:config
|
:config
|
||||||
(when (modulep! +lsp)
|
(when (modulep! +lsp)
|
||||||
(setq-hook! 'scala-ts-mode-hook lsp-enable-indentation nil)
|
(setq-hook! 'scala-ts-mode-hook lsp-enable-indentation nil))
|
||||||
(add-hook 'scala-ts-mode-local-vars-hook #'lsp! 'append))
|
|
||||||
|
|
||||||
(+scala-common-config 'scala-ts-mode))
|
(+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))
|
|
||||||
|
@@ -8,10 +8,6 @@
|
|||||||
(modulep! :tools tree-sitter))
|
(modulep! :tools tree-sitter))
|
||||||
"This module requires (: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)
|
(if (and (modulep! +lsp)
|
||||||
(not (executable-find "metals")))
|
(not (executable-find "metals")))
|
||||||
(warn! "metals isn't installed"))
|
(warn! "metals isn't installed"))
|
||||||
|
Reference in New Issue
Block a user