From 9a05071425eb900a7619a22aa88284b91b3c0ba4 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 14 Aug 2022 14:33:05 +0100 Subject: Add more to mmm-mode --- doom/config.org | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/doom/config.org b/doom/config.org index 60b66cf..be25a27 100644 --- a/doom/config.org +++ b/doom/config.org @@ -720,16 +720,26 @@ This function uses the date command line tool to do it." (use-package! mmm-mode :config - (mmm-add-classes + (mmm-add-group + 'fancy-context '((embedded-lua :submode lua-mode :front "\\\\startluacode" - :back "\\\\stopluacode"))) - - (mmm-add-mode-ext-class 'ConTeXt-mode nil 'embedded-lua) + :back "\\\\stopluacode") + (embedded-C + :submode c-mode + :front "\\\\starthlC" + :back "\\\\stophlC") + )) + + (mmm-add-mode-ext-class 'ConTeXt-en/PS nil 'fancy-context) + (setq mmm-global-mode 'maybe) ;;(setq mmm-never-modes ;; (append '(ediff-mode) '(text-mode) mmm-never-modes)) ) + +(require 'mmm-auto) + #+end_src *** Zettelkasten -- cgit