Fix #3217: backspace noops if tab-width=1
This commit is contained in:
parent
024503b2f4
commit
776663cb45
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ possible, or just one char if that's not possible."
|
|||
;; Delete up to the nearest tab column IF only whitespace between
|
||||
;; point and bol.
|
||||
((and (not indent-tabs-mode)
|
||||
(> tab-width 1)
|
||||
(not (bolp))
|
||||
(not (doom-point-in-string-p))
|
||||
(save-excursion (>= (- (skip-chars-backward " \t")) tab-width)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue