From a9535de933158d4b72136ec8e3e44f630e81fc89 Mon Sep 17 00:00:00 2001 From: TankorSmash Date: Wed, 9 Feb 2022 22:10:50 -0800 Subject: [PATCH] fix ElmRepl for 0.19 `elm-repl` got turned into `elm repl` --- autoload/elm.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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