summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/10-km-pkg.el1
-rw-r--r--init/km-general.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el
index 91c0462..1317e4c 100644
--- a/init/10-km-pkg.el
+++ b/init/10-km-pkg.el
@@ -14,6 +14,7 @@
ess
lua-mode
haskell-mode
+ markdown-mode
)
"Default packages")
diff --git a/init/km-general.el b/init/km-general.el
index 13d20dd..64e73b7 100644
--- a/init/km-general.el
+++ b/init/km-general.el
@@ -20,3 +20,8 @@
(put 'dired-find-alternate-file 'disabled nil)
;;(require 'dired+)
+
+(setq auto-mode-alist
+ (cons '("\\.md$" . markdown-mode) auto-mode-alist))
+(setq auto-mode-alist
+ (cons '("\\.markdown$" . markdown-mode) auto-mode-alist))