zarchive-vim-fsharp
zarchive-vim-fsharp copied to clipboard
Cross-platform support
This refers mostly to the hard-coded "mono "
prefix to the invocation of .NET .exe binaries. Those should be avoided under Windows.
I just picked up another bug in Windows: if the project file is in a directory that contains spaces in it (e.g., C:\Code\My Fancy Project\Fancy Project.fsproj
), then most functions fail with it (make
, FSharpBuildProject
, FSharpRunProject
). The reason is that fnameescape
is used instead of shellescape
.
(1) I don't know if it's caused by my lack of mono
or something else, but this is frustrating:
After I see that, it loads up the file and syntax highlights it anyways.
(2) Is there a way to just turn off autocompletion, so I can debug this crash?
(3) The logs (enabled by let g:fsharpbinding_debug = 1
) seem to suggest it's ignoring my g:fsharp_xbuild_path
.
https://gist.github.com/killerswan/d710d16b35e725e145cc