Revert 3bb384f95
& improve ocaml comment continuation
Back to the default behavior because this implementation was too buggy. Solution needs a rework.
This commit is contained in:
parent
a10f3e2670
commit
f426623e4b
3 changed files with 5 additions and 7 deletions
|
@ -5,5 +5,7 @@
|
|||
"Break line at point and indent, continuing comment if within one."
|
||||
(interactive)
|
||||
(comment-indent-new-line)
|
||||
(when (and +ocaml-prefix-comments-with-asterisk (eq (char-before) ?*))
|
||||
(just-one-space)))
|
||||
(when (eq (char-before) ?*)
|
||||
(just-one-space))
|
||||
(unless (eq (char-after) 32)
|
||||
(save-excursion (insert " "))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue