fix(elixir): eval & repl handlers
set-{eval,repl}-handler! operate on major modes, not minor modes (this should be corrected upstream, but I'll do so later). This doesn't apply to set-lookup-handlers!, but I'm changing it too for consistency.
This commit is contained in:
parent
2a515c683a
commit
d8285d9d4c
1 changed files with 3 additions and 3 deletions
|
@ -56,11 +56,11 @@
|
|||
(use-package! alchemist
|
||||
:hook (elixir-mode . alchemist-mode)
|
||||
:config
|
||||
(set-lookup-handlers! 'alchemist-mode
|
||||
(set-lookup-handlers! 'elixir-mode
|
||||
:definition #'alchemist-goto-definition-at-point
|
||||
:documentation #'alchemist-help-search-at-point)
|
||||
(set-eval-handler! 'alchemist-mode #'alchemist-eval-region)
|
||||
(set-repl-handler! 'alchemist-mode #'alchemist-iex-project-run)
|
||||
(set-eval-handler! 'elixir-mode #'alchemist-eval-region)
|
||||
(set-repl-handler! 'elixir-mode #'alchemist-iex-project-run)
|
||||
(map! :after elixir-mode
|
||||
:localleader
|
||||
:map elixir-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue