Add case insensitive matching for auto-mode-alist

This commit is contained in:
exu 2024-04-29 15:49:07 +02:00
parent 47a535bd60
commit 4e4c0b5e4f

View File

@ -82,6 +82,11 @@
(setq-default tab-width 4) (setq-default tab-width 4)
(setq indent-line-function 'insert-tab) (setq indent-line-function 'insert-tab)
;; enable case insensitive matching for 'auto-mode-alist'
;; see https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html
;; disabled by doom-start.el
(setq auto-mode-case-fold t)
;; work around emacs hanging when opening any python requirements.txt file ;; work around emacs hanging when opening any python requirements.txt file
;; see issue https://github.com/doomemacs/doomemacs/issues/5998 ;; see issue https://github.com/doomemacs/doomemacs/issues/5998
(advice-add #'pip-requirements-fetch-packages :override #'ignore) (advice-add #'pip-requirements-fetch-packages :override #'ignore)