revert: tweak(sh): auto-mode-alist: generalize /*rc rule

Cast too wide a net; there are likely too many *rc files that shouldn't
be treated as shell scripts.

Besides, there's already a fallback *rc rule for conf-mode in
lisp/doom-editor.el.

Revert: bdc35faff2
This commit is contained in:
Henrik Lissner
2024-12-05 16:31:15 -05:00
parent 440b8be3aa
commit ba1dca322f
2 changed files with 1 additions and 2 deletions

View File

@ -249,7 +249,6 @@ tell you about it. Very annoying. This prevents that."
(nconc
auto-mode-alist
'(("/LICENSE\\'" . text-mode)
("\\.log\\'" . text-mode)
("rc\\'" . conf-mode)))