Total load time for 90+ packages without byte-compiling: 3s... amazing ! Thanks to \@jwiegley :-)
12 lines
465 B
EmacsLisp
12 lines
465 B
EmacsLisp
(use-package elixir-mode
|
|
:defer t
|
|
:config
|
|
(progn
|
|
(require 'ruby-end)
|
|
(add-to-list 'elixir-mode-hook
|
|
(defun auto-activate-ruby-end-mode-for-elixir-mode ()
|
|
(set (make-variable-buffer-local 'ruby-end-expand-keywords-before-re)
|
|
"\\(?:^\\|\\s-+\\)\\(?:do\\)")
|
|
(set (make-variable-buffer-local 'ruby-end-check-statement-modifiers) nil)
|
|
(ruby-end-mode +1)))))
|