From f10b5d0e994fe4167935047d99444b3bfa612474 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 16 Sep 2015 16:40:16 -0700 Subject: [emacs] split config in different files. Move the configuration for each language and major mode in it's own configuration file. Enable the theme "leuven" if run in windowed mode. --- emacs.d/inits/90_markdown.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 emacs.d/inits/90_markdown.el (limited to 'emacs.d/inits/90_markdown.el') diff --git a/emacs.d/inits/90_markdown.el b/emacs.d/inits/90_markdown.el new file mode 100644 index 0000000..3ec3ec4 --- /dev/null +++ b/emacs.d/inits/90_markdown.el @@ -0,0 +1,9 @@ +(use-package markdown-mode + :ensure t + :mode ("\\.\\(m\\(ark\\)?down\\|md\\)$" . markdown-mode) + :config + (progn + (let ((preferred-markdown-impl "peg-markdown")) + (when (executable-find preferred-markdown-impl) + (setq markdown-command preferred-markdown-impl))))) + -- cgit 1.4.1