fix(emacs/lean-mmm-lua): add 'insert' for mmm-insert-region (C-c % l)
Related issue: #74, https://github.com/flycheck/flycheck/issues/349, https://github.com/purcell/mmm-mode/issues/32
This commit is contained in:
parent
1527efb108
commit
f25f9a8fab
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
(require 'mmm-mode)
|
(require 'mmm-mode)
|
||||||
(require 'mmm-auto)
|
(require 'mmm-auto)
|
||||||
(require 'lua-mode)
|
(require 'lua-mode)
|
||||||
(setq mmm-global-mode 'buffers-with-submode-classes)
|
(setq mmm-global-mode 'maybe)
|
||||||
(setq mmm-submode-decoration-level 0)
|
(setq mmm-submode-decoration-level 0)
|
||||||
(eval-after-load 'mmm-vars
|
(eval-after-load 'mmm-vars
|
||||||
'(progn
|
'(progn
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
'((lua-inline
|
'((lua-inline
|
||||||
:submode lua-mode
|
:submode lua-mode
|
||||||
:face mmm-code-submode-face
|
:face mmm-code-submode-face
|
||||||
|
:insert ((?l lean-tag nil @ "(*\n" @ " " _ "" @ "\n*)" @))
|
||||||
:front "[(][*]"
|
:front "[(][*]"
|
||||||
:back "[*][)]")))
|
:back "[*][)]")))
|
||||||
(mmm-add-mode-ext-class 'lean-mode "\\.lean" 'lean-lua))))
|
(mmm-add-mode-ext-class 'lean-mode "\\.lean" 'lean-lua))))
|
||||||
|
|
Loading…
Reference in a new issue