diff --git a/modules/lang/scala/autoload.el b/modules/lang/scala/autoload.el index 74b9957cf..0196ead26 100644 --- a/modules/lang/scala/autoload.el +++ b/modules/lang/scala/autoload.el @@ -1,7 +1,7 @@ ;;; lang/scala/autoload.el -*- lexical-binding: t; -*- ;;;###autoload -(defun +scala-comment-indent-new-line (&optional _) +(defun +scala-comment-indent-new-line-fn (&optional _) "Continue the commnt on the current line. Meant to be used for `scala-mode's `comment-line-break-function'." diff --git a/modules/lang/scala/config.el b/modules/lang/scala/config.el index 4a81fedd9..2d274929b 100644 --- a/modules/lang/scala/config.el +++ b/modules/lang/scala/config.el @@ -13,7 +13,7 @@ scala-indent:use-javadoc-style t) (setq-hook! 'scala-mode-hook - comment-line-break-function #'+scala-comment-indent-new-line) + comment-line-break-function #'+scala-comment-indent-new-line-fn) (when (featurep! +lsp) (add-hook 'scala-mode-local-vars-hook #'lsp!)))