lang/ocaml: ensure * in block comments are padded
(* * <-- ensures there is at least one space here *)
This commit is contained in:
parent
c14a4c8818
commit
56393420e5
2 changed files with 13 additions and 0 deletions
9
modules/lang/ocaml/autoload.el
Normal file
9
modules/lang/ocaml/autoload.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; lang/ocaml/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +ocaml/comment-indent-new-line ()
|
||||
"Break line at point and indent, continuing comment if within one."
|
||||
(interactive)
|
||||
(comment-indent-new-line)
|
||||
(when (eq (char-before) ?*)
|
||||
(just-one-space)))
|
Loading…
Add table
Add a link
Reference in a new issue