Mike Williams wrote:

> It looks like the change to Windows for resolve() in 8.1.1417 was a
> breaking change.  I use the NERDtree plugin and any build after than
> change results in NERDtree reports plain files on Windows as links.  See
> attached image.
> 
> I guess the question is. is this wrong in VIM or a bad assumption in
> NERDtree in what resolve() returns?  Since it is a breaking change in
> VIM I thought I would start the ball rolling here.

Perhaps NERDtree checks if the returned path is a full path?
Assuming you still have the older Vim version, compare the output of
resolve() for some simple files, is it different?

The docs say:
                On MS-Windows, when {filename} is a shortcut (a .lnk file),
                returns the path the shortcut points to in a simplified form.
                When {filename} is a symbolic link or junction point, return
                the full path to the target. If the target of junction is
                removed, return {filename}.

It says some more about a simplified result.  But that wasn't changed.


-- 
>From "know your smileys":
 <>:-)  Bishop

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201906041818.x54IIk33020690%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui