Conform scala comment function to naming conventions

This commit is contained in:
Henrik Lissner 2020-02-25 20:47:37 -05:00
parent 0ba5c574b9
commit 200fed337c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -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'."

View file

@ -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!)))