Conform scala comment function to naming conventions
This commit is contained in:
parent
0ba5c574b9
commit
200fed337c
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
;;; lang/scala/autoload.el -*- lexical-binding: t; -*-
|
;;; lang/scala/autoload.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +scala-comment-indent-new-line (&optional _)
|
(defun +scala-comment-indent-new-line-fn (&optional _)
|
||||||
"Continue the commnt on the current line.
|
"Continue the commnt on the current line.
|
||||||
|
|
||||||
Meant to be used for `scala-mode's `comment-line-break-function'."
|
Meant to be used for `scala-mode's `comment-line-break-function'."
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
scala-indent:use-javadoc-style t)
|
scala-indent:use-javadoc-style t)
|
||||||
|
|
||||||
(setq-hook! 'scala-mode-hook
|
(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)
|
(when (featurep! +lsp)
|
||||||
(add-hook 'scala-mode-local-vars-hook #'lsp!)))
|
(add-hook 'scala-mode-local-vars-hook #'lsp!)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue