This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7 - Odd behaviour with vim
On Tue, Feb 10, 2009 at 1:11 PM, Chris Sutcliffe wrote:
>> On second thought, is it possible that you're using a native vim as well
>> and so maybe have a vim rc file with DOS paths in it? Or an environment
>> variable containing a DOS path which is referred by both vims, as, say,
>> $VIM or $VIMRUNTIME?
> Yep, that was it, in one of my functions in .vimrc I was appending a
> '\tags' to the end, I now have added a 'if has("win32unix")' condition
> to append '/tags' to the string (I use a common .vimrc for both native
> and Cygwin vim).
Why not just append '/tags' to the string on both? It will work fine
on both windows and cygwin (and linux, and dos, and mac os, etc).
> I don't recall seeing this behaviour in Cygwin
> 1.5.x, but never the less I'm all good now.
No, the warning is new with 1.7 to serve as a strong reminder that
using dos-style paths is unsupported and not guaranteed to work.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html