diff options
author | Alan Pearce | 2014-08-09 11:22:29 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-09 11:22:29 +0100 |
commit | efe359272804acb9ad3fc65062393861dd787e7b (patch) | |
tree | b1961cfca1ddee269807dfb788b540b799ee33b8 /tag-emacs | |
parent | 7f9658c3a1d698bb69c7683dbfcebbcde3f89717 (diff) | |
download | nixfiles-efe359272804acb9ad3fc65062393861dd787e7b.tar.lz nixfiles-efe359272804acb9ad3fc65062393861dd787e7b.tar.zst nixfiles-efe359272804acb9ad3fc65062393861dd787e7b.zip |
Emacs: Add shell script submode to markdown
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 2f52c09c..43593552 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1279,9 +1279,15 @@ mouse-1: Display Line and Column Mode Menu")))))) :submode common-lisp-mode :face mmm-code-submode-face :front "^{{% highlight cl %}}[\r\n]+" + :back "^{{% /highlight %}}$") + (markdown-shell + :submode shell-script-mode + :face mmm-code-submode-face + :front "^{{% highlight sh %}}[\r\n]+" :back "^{{% /highlight %}}$"))) (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml) - (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp)) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-shell)) :init (setq mmm-global-mode 'maybe)) ;;;; Windows & Frames |