yeet
This commit is contained in:
11
.config/emacs/modules/lang/ocaml/autoload.el
Normal file
11
.config/emacs/modules/lang/ocaml/autoload.el
Normal file
@@ -0,0 +1,11 @@
|
||||
;;; lang/ocaml/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +ocaml/comment-indent-new-line (&optional _)
|
||||
"Break line at point and indent, continuing comment if within one."
|
||||
(interactive)
|
||||
(comment-indent-new-line)
|
||||
(when (eq (char-before) ?*)
|
||||
(just-one-space))
|
||||
(unless (eq (char-after) 32)
|
||||
(save-excursion (insert " "))))
|
||||
Reference in New Issue
Block a user