Fix +evil--insert-new-line advice when opening new line inside a comment.
`comment-line-break-function` requires a single `soft-newlines` argument.
This commit is contained in:
parent
b03fdabe4f
commit
198712060a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ more information on modifiers."
|
|||
(cond ((sp-point-in-comment pos)
|
||||
(setq evil-auto-indent nil)
|
||||
(if comment-line-break-function
|
||||
(funcall comment-line-break-function)
|
||||
(funcall comment-line-break-function nil)
|
||||
(comment-indent-new-line)))
|
||||
;; TODO Find a better way to do this
|
||||
((and (eq major-mode 'haskell-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue