mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Conform scala comment function to naming conventions
This commit is contained in:
@ -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!)))
|
||||||
|
Reference in New Issue
Block a user