mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove eshell/term from dtrt excluded modes
Unnecessary because their buffers don't make it through doom|detect-indentation's condition anyway.
This commit is contained in:
@ -70,8 +70,6 @@ You should use `det-eshell-alias!' to change this.")
|
|||||||
eshell-glob-case-insensitive t
|
eshell-glob-case-insensitive t
|
||||||
eshell-error-if-no-glob t)
|
eshell-error-if-no-glob t)
|
||||||
|
|
||||||
(add-to-list 'doom-detect-indentation-excluded-modes 'eshell-mode nil #'eq)
|
|
||||||
|
|
||||||
;; Consider eshell buffers real
|
;; Consider eshell buffers real
|
||||||
(add-hook 'eshell-mode-hook #'doom|mark-buffer-as-real)
|
(add-hook 'eshell-mode-hook #'doom|mark-buffer-as-real)
|
||||||
|
|
||||||
|
@ -5,6 +5,4 @@
|
|||||||
multi-term-switch-after-close 'PREVIOUS)
|
multi-term-switch-after-close 'PREVIOUS)
|
||||||
|
|
||||||
;; `term' (built-in)
|
;; `term' (built-in)
|
||||||
(after! term
|
(add-hook 'term-mode-hook #'doom|mark-buffer-as-real)
|
||||||
(add-hook 'term-mode-hook #'doom|mark-buffer-as-real)
|
|
||||||
(add-to-list 'doom-detect-indentation-excluded-modes 'term-mode nil #'eq))
|
|
||||||
|
Reference in New Issue
Block a user