Fix backspace advice with multi-character sp pairs
This commit is contained in:
parent
da1030985d
commit
83faa84591
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ possible, or just one char if that's not possible."
|
|||
(beg (plist-get pair :beg))
|
||||
(end (plist-get pair :end)))
|
||||
(cond ((and end beg (= end (+ beg (length op) (length cl))))
|
||||
(delete-char -1))
|
||||
(delete-char (- (length op))))
|
||||
((doom-surrounded-p pair 'inline 'balanced)
|
||||
(delete-char -1 killflag)
|
||||
(delete-char 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue