Hi,
I'm having trouble trying to get the vim-go plugin for vim working properly
in Msys2 and I it's at the point where I'd either have to start
hacking/forking a bunch of things to get it working or try and have Msys2's
behaviour change.
Specifically what I'm running into isn't at all related to the vim-go
plugin itself, it's just a behaviour of Msys2 and it's something I've run
into as an issue for other things in the past.
Specifically my problem is that Msys2 seems to be performing an incorrect
path conversion on a POSIX path that begins with a drive mount (/c, /d,
etc). For example I can see that one of the commands from vim is running:
/c/Go/bin/guru definition /c/Users/me/go/src/github.com/me/test/main.go
when I'm in the directory /c/Users/me/go/src/github.com/me/test.
As this starts with a drive mount it could suitably be swapped straight to
a windows path (i.e. cypath --windows), but instead it has a path based on
my current directory context preppended to it and I get an error, the final
command being: C:\Go\bin\guru.exe definition C:\Users\me\go\src\github.com
\me\test\c\Users\me\go\src\github.com\me\main.go.
The same thing happens if I try to run the command straight from my shell.
Can the behaviour of Msys2 be updated so that if a path starts with a disk
mount (/c, /d, etc) the path is just straight swapped to a windows path
instead of having the prepend? It's an error to prepend when the path is
fully qualified in my opinion.
Regards,
Yoshi
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users