File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ function! rescript#UpdateProjectEnv()
3838 else
3939 " Here we are handling a project that is based on the rescript npm package
4040 " This package only uses a rescript.exe, no bsc, nor bsb
41- let g: rescript_exe = getcwd () . " / " . l: res_bin_dir . " /rescript.exe"
41+ let g: rescript_exe = l: res_bin_dir . " /rescript.exe"
4242 endif
4343
4444 " These variables are only used in legacy mode (bs-platform based projects)
45- let g: rescript_bsc_exe = getcwd () . " / " . l: res_bin_dir . " /bsc.exe"
46- let g: rescript_bsb_exe = getcwd () . " / " . l: res_bin_dir . " /bsb.exe"
45+ let g: rescript_bsc_exe = l: res_bin_dir . " /bsc.exe"
46+ let g: rescript_bsb_exe = l: res_bin_dir . " /bsb.exe"
4747
4848 " Note that this doesn't find bsconfig when the editor was started without a
4949 " specific file within the project
50- let g: rescript_project_config = getcwd () . " / " . findfile (" bsconfig.json" , " .;" )
50+ let g: rescript_project_config = findfile (" bsconfig.json" , " .;" )
5151
5252 " Try to find the nearest .git folder instead
5353 if g: rescript_project_config == " "
You can’t perform that action at this time.
0 commit comments