[elixir] Enable evil-matchit in elixir mode

This commit is contained in:
Miloš Mošić 2019-10-18 14:52:04 +01:00 committed by duianto
parent a1db805e5a
commit b9f3ed61f4
2 changed files with 5 additions and 0 deletions

View File

@ -1459,6 +1459,7 @@ Other:
- Added ~SPC m d b~ to toggle IEx.pry breakpoint
- lsp layer is a dependency when backend is set to 'lsp (thanks to mpanarin)
- "C-j" indents line properly (thanks to mpanarin)
- Enabled =evil-matchit= (thanks to Miloš Mošić)
**** Elm
- Fixed flycheck initialization (thanks to Kevin W. van Rooijen)
- Added =elm-test-runner= (thanks to Juan Edi)

View File

@ -16,6 +16,7 @@
counsel-gtags
dap-mode
elixir-mode
evil-matchit
flycheck
flycheck-credo
flycheck-mix
@ -155,6 +156,9 @@
(add-to-list 'spacemacs--dap-supported-modes 'elixir-mode)
(add-hook 'elixir-mode-local-vars-hook #'spacemacs//elixir-setup-dap))
(defun elixir/post-init-evil-matchit ()
(add-hook 'elixir-mode-hook `turn-on-evil-matchit-mode))
(defun elixir/init-elixir-mode ()
(use-package elixir-mode
:defer t