File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ function! rescript#Build(...)
427427 " Otherwise we are in modern mode and use rescript.exe
428428 let l: cmd = g: rescript_exe
429429 if l: with_deps == ? 1
430- let l: cmd = g: rescript_exe . " -with-deps"
430+ let l: cmd = g: rescript_exe . " build -with-deps"
431431 endif
432432 endif
433433
@@ -511,6 +511,7 @@ function! rescript#ReasonToRescript()
511511 echo " Current buffer is not a .re / .rei file... Do nothing."
512512 return
513513 endif
514+
514515 let l: command = g: rescript_bsc_exe . " -format " . @%
515516
516517 silent let l: out = systemlist (l: command )
@@ -548,6 +549,7 @@ function! rescript#Info()
548549 echo " Detected rescript_bsb_exe: " . g: rescript_bsb_exe
549550 else
550551 echo " Detected rescript_exe: " . g: rescript_exe
552+ echo " Detected (legacy) rescript_bsc_exe: " . g: rescript_bsc_exe
551553 endif
552554
553555 echo " Bundled rescript server version: " . rescript#GetRescriptServerVersion ()
You can’t perform that action at this time.
0 commit comments