Move delete-backward-char & newline-and-indent advice
To config/default; the only place it is used.
This commit is contained in:
parent
69ed1a4a99
commit
acddf6a047
3 changed files with 113 additions and 118 deletions
|
@ -105,10 +105,10 @@
|
|||
;; e) properly delete smartparen pairs when they are encountered, without
|
||||
;; the need for strict mode.
|
||||
;; f) do none of this when inside a string
|
||||
(advice-add #'delete-backward-char :override #'doom/delete-backward-char)
|
||||
(advice-add #'delete-backward-char :override #'+default*delete-backward-char)
|
||||
|
||||
;; Makes `newline-and-indent' continue comments (and more reliably)
|
||||
(advice-add #'newline-and-indent :around #'doom*newline-indent-and-continue-comments)))
|
||||
(advice-add #'newline-and-indent :around #'+default*newline-indent-and-continue-comments)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue