diff --git a/autoload/elm.vim b/autoload/elm.vim index 1eb217b..17fa06a 100644 --- a/autoload/elm.vim +++ b/autoload/elm.vim @@ -300,15 +300,15 @@ endf " Open the elm repl in a subprocess. function! elm#Repl() abort - " check for the elm-repl binary - if elm#util#CheckBin('elm-repl', 'http://elm-lang.org/install') ==# '' + " check for the elm binary, since elm-repl is now elm repl + if elm#util#CheckBin('elm', 'http://elm-lang.org/install') ==# '' return endif if has('nvim') - term('elm-repl') + term('elm repl') else - !elm-repl + !elm repl endif endf