mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #4530 from razzmatazz/evil--insert-newline-fix-within-a-comment
Fix +evil--insert-new-line advice when opening new line inside a comment
This commit is contained in:
@ -106,7 +106,7 @@ more information on modifiers."
|
|||||||
(cond ((sp-point-in-comment pos)
|
(cond ((sp-point-in-comment pos)
|
||||||
(setq evil-auto-indent nil)
|
(setq evil-auto-indent nil)
|
||||||
(if comment-line-break-function
|
(if comment-line-break-function
|
||||||
(funcall comment-line-break-function)
|
(funcall comment-line-break-function nil)
|
||||||
(comment-indent-new-line)))
|
(comment-indent-new-line)))
|
||||||
;; TODO Find a better way to do this
|
;; TODO Find a better way to do this
|
||||||
((and (eq major-mode 'haskell-mode)
|
((and (eq major-mode 'haskell-mode)
|
||||||
|
Reference in New Issue
Block a user