Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ let g:elm_setup_keybindings = 1

* `:ElmTest` calls `elm-test` with the given file. If no file is given it runs it in the root of your project.

* `:ElmRepl` runs `elm-repl`, which will return to vim on exiting.
* `:ElmRepl` runs `elm repl`, which will return to vim on exiting.

* `:ElmErrorDetail` shows the detail of the current error in the quickfix window.

Expand Down
8 changes: 4 additions & 4 deletions autoload/elm.vim
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,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 repl binary
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
2 changes: 1 addition & 1 deletion doc/elm-vim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Calls `elm make` with "Main.elm"

Calls `elm test` with "Test[filename].elm"

*(elm-repl)*
*(elm repl)*

Calls `elm repl` in a subprocess

Expand Down