projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
[~bandali/configs]
/
.emacs.d
/
init.el
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
a0b328e
..
d135772
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-947,6
+947,12
@@
For disabling the behaviour for certain buffers and/or modes."
:hook ((text-mode . indicate-buffer-boundaries-left)
(text-mode . abbrev-mode)))
+(use-feature conf-mode
+ :mode "\\.*rc$")
+
+(use-feature sh-mode
+ :mode "\\.bashrc$")
+
(use-package company
:defer 0.6
:bind