added markdown mode for text, mardown, md, and mdwn
This commit is contained in:
parent
d9535411aa
commit
078db4b5b5
8
init.el
8
init.el
|
@ -16,6 +16,14 @@
|
|||
(setq-default whitespace-line-column 80)
|
||||
(global-whitespace-mode 1)
|
||||
|
||||
;; Markdown http://jblevins.org/projects/markdown-mode/markdown-mode.el
|
||||
(autoload 'markdown-mode "markdown-mode"
|
||||
"Major mode for editing Markdown files" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.mdwn\\'" . markdown-mode))
|
||||
|
||||
;; C, use k&r style by default (naev)
|
||||
(setq-default c-default-style "k&r"
|
||||
c-basic-offset 3)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue