diff --git a/emacs/init.el b/emacs/init.el index f463420..226b21f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -117,24 +117,13 @@ (defvaralias 'json-reformat:indent-width 'tab-width)) (use-package mmm-mode - :ensure t + :ensure t) + +(use-package mmm-auto :init (setq mmm-submode-decoration-level 0) :config - (require 'mmm-auto) - (mmm-add-group 'rust-doc - '((rust-doc-line - :submode markdown-mode - :face mmm-comment-submode-face - :front "///\s+" - :back "\n") - (rust-doc-block - :submode markdown-mode - :face mmm-comment-submode-face - :front "/\\*\\*" - :back "\\*\\*/"))) - (mmm-add-mode-ext-class 'ruby-mode nil 'here-doc) - (mmm-add-mode-ext-class 'rust-mode nil 'rust-doc)) + (mmm-add-mode-ext-class 'ruby-mode nil 'here-doc)) (use-package python :init @@ -177,7 +166,6 @@ (use-package rust-mode :ensure t - :hook ((rust-mode . mmm-mode)) :init (defvaralias 'rust-indent-offset 'tab-width))