mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix newline-and-indent advice forgetting indentation
e.g. in python-mode docstrings. The point-in-string case is no longer handled, because indent-according-to-mode handles it properly already.
This commit is contained in:
@ -125,7 +125,7 @@
|
||||
(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 #'+default*newline-indent-and-continue-comments)))
|
||||
(advice-add #'newline-and-indent :override #'+default*newline-indent-and-continue-comments)))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user