summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 4c96f57..bc131f5 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1110,7 +1110,14 @@
                     :back "\\([\"']\\|SQL\\);?"
                     :face mmm-code-submode-face)))
                 (mmm-add-mode-ext-class 'php-mode "\\.php$" 'php-sql)
-                (setq php-sql-mmm-submode-enabled t))))
+                (setq php-sql-mmm-submode-enabled t)))
+            (mmm-add-classes
+             '((markdown-toml
+                :submode toml-mode
+                :face mmm-declaration-submode-face
+                :front "\\`+++[\n\r]+"
+                :back "^+++$")))
+            (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml))
   :init (setq mmm-global-mode 'maybe))
 
 ;;;; Windows & Frames