all repos — nixfiles @ efe359272804acb9ad3fc65062393861dd787e7b

System and user configuration, managed by nix and home-manager

Emacs: Add shell script submode to markdown

Alan Pearce
commit

efe359272804acb9ad3fc65062393861dd787e7b

parent

7f9658c3a1d698bb69c7683dbfcebbcde3f89717

1 file changed, 7 insertions(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1279,9 +1279,15 @@ (markdown-lisp
: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