mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 04:20:57 +01:00
using require
This commit is contained in:
26
lisp/init-mmm.el
Normal file
26
lisp/init-mmm.el
Normal file
@@ -0,0 +1,26 @@
|
||||
;; *** MMM Mode
|
||||
(use-package mmm-mode
|
||||
:config
|
||||
(require 'cl-lib)
|
||||
(require 'mmm-auto)
|
||||
(require 'mmm-vars)
|
||||
|
||||
(setq mmm-submode-decoration-level 2)
|
||||
|
||||
;; [[https://github.com/purcell/mmm-mode][mmm-mode github]]
|
||||
;; see doc for class definition in var 'mmm-classes-alist
|
||||
;; **** MMM config for POD mode
|
||||
(mmm-add-classes
|
||||
'((html-pod
|
||||
:submode html-mode ;; web-mode doesnt work this way!
|
||||
:delimiter-mode nil
|
||||
:front "=begin html"
|
||||
:back "=end html")))
|
||||
|
||||
(mmm-add-mode-ext-class 'pod-mode nil 'html-pod)
|
||||
|
||||
:hook (pod-mode mmm-mode-on))
|
||||
|
||||
|
||||
(provide 'init-mmm)
|
||||
;;; init-mmm.el ends here
|
||||
Reference in New Issue
Block a user