parent
f94e28ce39
commit
11ff7b5d33
2 changed files with 9 additions and 2 deletions
|
@ -21,6 +21,9 @@
|
|||
:insert ((?l lean-tag nil @ "(*\n" @ " " _ "" @ "\n*)" @))
|
||||
:front "[(][*]"
|
||||
:back "[*][)]")))
|
||||
(mmm-add-mode-ext-class 'lean-mode "\\.lean" 'lean-lua))))
|
||||
(mmm-add-mode-ext-class 'lean-mode "\\.lean" 'lean-lua)))
|
||||
(defun lean-mmm-lua-hook ()
|
||||
(setq-local mmm-parse-when-idle t)
|
||||
(setq-local mmm-idle-timer-delay 0.5)))
|
||||
|
||||
(provide 'lean-mmm-lua)
|
||||
|
|
|
@ -170,7 +170,11 @@ enabled and disabled respectively.")
|
|||
(eldoc-mode t))
|
||||
;; company-mode
|
||||
(when lean-company-use
|
||||
(company-lean-hook)))
|
||||
(company-lean-hook))
|
||||
;; mmm-lua-mode
|
||||
(when (and (package-installed-p 'mmm-mode)
|
||||
(package-installed-p 'lua-mode))
|
||||
(lean-mmm-lua-hook)))
|
||||
|
||||
;; Automode List
|
||||
;;;###autoload
|
||||
|
|
Loading…
Reference in a new issue