mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/ocaml: ensure * in block comments are padded
(* * <-- ensures there is at least one space here *)
This commit is contained in:
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)))
|
Reference in New Issue
Block a user