fix: exclude fundamental-mode from localleader maps
This commit is contained in:
parent
afaf2936e1
commit
f0bf0d670b
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ localleader prefix."
|
|||
(unless (or (derived-mode-p 'special-mode)
|
||||
(derived-mode-p 'minibuffer-inactive-mode)
|
||||
(derived-mode-p 'minibuffer-mode)
|
||||
(derived-mode-p 'compilation-mode))
|
||||
(derived-mode-p 'compilation-mode)
|
||||
(eq major-mode 'fundamental-mode))
|
||||
(setq doom-localleader-current-major-mode major-mode)
|
||||
(set-keymap-parent doom-localleader-map
|
||||
(cdr (assq major-mode doom-localleader-map-alist))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue