mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rewrote indentation detection
More robust and easier to customize.
This commit is contained in:
@ -71,6 +71,8 @@ You should use `det-eshell-alias!' to change this.")
|
||||
eshell-glob-case-insensitive t
|
||||
eshell-error-if-no-glob t)
|
||||
|
||||
(add-to-list 'doom-detect-indentation-excluded-modes 'eshell-mode nil #'eq)
|
||||
|
||||
;; Consider eshell buffers real
|
||||
(add-hook 'eshell-mode-hook #'doom|mark-buffer-as-real)
|
||||
|
||||
|
@ -8,4 +8,5 @@
|
||||
(after! term
|
||||
(set-env! "SHELL")
|
||||
|
||||
(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