File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ function! rescript#Build(...)
427
427
" Otherwise we are in modern mode and use rescript.exe
428
428
let l: cmd = g: rescript_exe
429
429
if l: with_deps == ? 1
430
- let l: cmd = g: rescript_exe . " -with-deps"
430
+ let l: cmd = g: rescript_exe . " build -with-deps"
431
431
endif
432
432
endif
433
433
@@ -511,6 +511,7 @@ function! rescript#ReasonToRescript()
511
511
echo " Current buffer is not a .re / .rei file... Do nothing."
512
512
return
513
513
endif
514
+
514
515
let l: command = g: rescript_bsc_exe . " -format " . @%
515
516
516
517
silent let l: out = systemlist (l: command )
@@ -548,6 +549,7 @@ function! rescript#Info()
548
549
echo " Detected rescript_bsb_exe: " . g: rescript_bsb_exe
549
550
else
550
551
echo " Detected rescript_exe: " . g: rescript_exe
552
+ echo " Detected (legacy) rescript_bsc_exe: " . g: rescript_bsc_exe
551
553
endif
552
554
553
555
echo " Bundled rescript server version: " . rescript#GetRescriptServerVersion ()
You can’t perform that action at this time.
0 commit comments