summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-05-18 21:24:49 -0400
committerAmin Bandali <bandali@kelar.org>2024-05-18 21:24:49 -0400
commite5628242a486a2b5ebe76c6656d11bc22ac05f82 (patch)
tree5573ab53dcb33c0f04419d973ed2615d934084cc
parent4c53c1cd0fb118fdfffac178ea18c5bc8be1cce1 (diff)
downloadconfigs-e5628242a486a2b5ebe76c6656d11bc22ac05f82.tar.gz
configs-e5628242a486a2b5ebe76c6656d11bc22ac05f82.tar.xz
configs-e5628242a486a2b5ebe76c6656d11bc22ac05f82.zip
Use text-mode for README* files
-rw-r--r--.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 9a1a081..9e38c32 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -185,6 +185,7 @@ plain variables. This means that `setopt' will execute any
;; require-final-newline t
;; Open read-only file buffers in view-mode, to get `q' for quit.
view-read-only t)
+ (add-to-list 'auto-mode-alist '("\\README.*" . text-mode))
(add-to-list 'auto-mode-alist '("\\.*rc$" . conf-mode))
(add-to-list 'auto-mode-alist '("\\.bashrc$" . sh-mode)))