Fix gfm-mode load issue
This commit is contained in:
parent
bf858508c6
commit
ef4e4a6ab0
1 changed files with 9 additions and 2 deletions
|
@ -1,8 +1,15 @@
|
|||
;;; module-text.el
|
||||
|
||||
(use-package markdown-mode
|
||||
:mode ("\\.md$" "/README$")
|
||||
:init (add-hook 'markdown-mode-hook 'turn-on-auto-fill)
|
||||
:mode ("\\.m\\(d\\|arkdown\\)$" "/README$"
|
||||
("/README\\.md$" . gfm-mode))
|
||||
:init
|
||||
(add-hook 'markdown-mode-hook 'turn-on-auto-fill)
|
||||
(setq markdown-enable-wiki-links t
|
||||
markdown-italic-underscore t
|
||||
markdown-enable-math t
|
||||
markdown-make-gfm-checkboxes-buttons t
|
||||
markdown-gfm-additional-languages '("sh"))
|
||||
:config
|
||||
(map! :map markdown-mode-map
|
||||
"<backspace>" nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue