Fix evil-join filling non-comments poorly
This commit is contained in:
parent
a3f242d4b6
commit
c049480cbd
2 changed files with 20 additions and 17 deletions
|
@ -165,7 +165,7 @@ directives. By default, this only recognizes C directives.")
|
|||
(abort-recursive-edit)))
|
||||
|
||||
;; Make J (evil-join) remove comment delimiters when joining lines.
|
||||
(advice-add #'evil-join :override #'+evil-join-a)
|
||||
(advice-add #'evil-join :around #'+evil-join-a)
|
||||
|
||||
;; Prevent gw (`evil-fill') and gq (`evil-fill-and-move') from squeezing
|
||||
;; spaces. It doesn't in vim, so it shouldn't in evil.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue