Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions autoload/elm.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down