[elixir] Enable evil-matchit in elixir mode
This commit is contained in:
parent
a1db805e5a
commit
b9f3ed61f4
|
@ -1459,6 +1459,7 @@ Other:
|
||||||
- Added ~SPC m d b~ to toggle IEx.pry breakpoint
|
- Added ~SPC m d b~ to toggle IEx.pry breakpoint
|
||||||
- lsp layer is a dependency when backend is set to 'lsp (thanks to mpanarin)
|
- lsp layer is a dependency when backend is set to 'lsp (thanks to mpanarin)
|
||||||
- "C-j" indents line properly (thanks to mpanarin)
|
- "C-j" indents line properly (thanks to mpanarin)
|
||||||
|
- Enabled =evil-matchit= (thanks to Miloš Mošić)
|
||||||
**** Elm
|
**** Elm
|
||||||
- Fixed flycheck initialization (thanks to Kevin W. van Rooijen)
|
- Fixed flycheck initialization (thanks to Kevin W. van Rooijen)
|
||||||
- Added =elm-test-runner= (thanks to Juan Edi)
|
- Added =elm-test-runner= (thanks to Juan Edi)
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
counsel-gtags
|
counsel-gtags
|
||||||
dap-mode
|
dap-mode
|
||||||
elixir-mode
|
elixir-mode
|
||||||
|
evil-matchit
|
||||||
flycheck
|
flycheck
|
||||||
flycheck-credo
|
flycheck-credo
|
||||||
flycheck-mix
|
flycheck-mix
|
||||||
|
@ -155,6 +156,9 @@
|
||||||
(add-to-list 'spacemacs--dap-supported-modes 'elixir-mode)
|
(add-to-list 'spacemacs--dap-supported-modes 'elixir-mode)
|
||||||
(add-hook 'elixir-mode-local-vars-hook #'spacemacs//elixir-setup-dap))
|
(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 ()
|
(defun elixir/init-elixir-mode ()
|
||||||
(use-package elixir-mode
|
(use-package elixir-mode
|
||||||
:defer t
|
:defer t
|
||||||
|
|
Loading…
Reference in a new issue