elm: fix incorrect bindings
Upstream elm-mode renamed REPL related functions from *-elm-repl to elm-repl-*, but the elm layer was still referencing the old names (except for elm-repl-load which had previously been fixed).
This commit is contained in:
parent
1b54bb4ebd
commit
881ac19114
|
@ -56,16 +56,16 @@
|
|||
(let* ((fname (format "%s.js" (downcase (file-name-base (buffer-file-name))))))
|
||||
(elm-compile--file (elm--buffer-local-file-name) fname)))
|
||||
|
||||
(defun spacemacs/push-decl-elm-repl-focus ()
|
||||
(defun spacemacs/elm-repl-push-decl-focus ()
|
||||
"Send current function to the REPL and focus it in insert state."
|
||||
(interactive)
|
||||
(push-decl-elm-repl)
|
||||
(elm-repl-push-decl)
|
||||
(run-elm-interactive)
|
||||
(evil-insert-state))
|
||||
|
||||
(defun spacemacs/push-elm-repl-focus ()
|
||||
(defun spacemacs/elm-repl-push-focus ()
|
||||
"Send current region to the REPL and focus it in insert state."
|
||||
(push-elm-repl)
|
||||
(elm-repl-push)
|
||||
(run-elm-interactive)
|
||||
(evil-insert-state))
|
||||
|
||||
|
@ -80,10 +80,10 @@
|
|||
|
||||
;; repl
|
||||
"si" 'elm-repl-load
|
||||
"sf" 'push-decl-elm-repl
|
||||
"sF" 'spacemacs/push-decl-elm-repl-focus
|
||||
"sr" 'push-elm-repl
|
||||
"sR" 'spacemacs/push-elm-repl-focus
|
||||
"sf" 'elm-repl-push-decl
|
||||
"sF" 'spacemacs/elm-repl-push-decl
|
||||
"sr" 'elm-repl-push
|
||||
"sR" 'spacemacs/elm-repl-push-focus
|
||||
|
||||
;; reactor
|
||||
"Rn" 'elm-preview-buffer
|
||||
|
|
Loading…
Reference in a new issue