You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NERDTree version git rev-parse --short HEAD: newest: 808f5b2
Process
Given a file /tmp/A/a.txt, and a link /tmp/B -> /tmp/A
enter vim, and exe: :edit /tmp/B/a.txt
then exe: :NERDTreeFind
Current Result
Throw Exception:
处理 function <SNR>9_lod_cmd[3]..<SNR>110_findAndRevealPath[40]..161 时发生错误:
第 4 行:
E605: 异常没有被捕获: NERDTree.InvalidArgumentsError: /tmp/B/a.txt should be under /private/tmp/A
Expected Result
No Exception
Screenshot(s)
Possible Fix
The text was updated successfully, but these errors were encountered:
SolaWing
changed the title
shouldn't throw error when exe NERDTreeFind for file in a linked directory
should no error when exe NERDTreeFind for file in a linked directory
Sep 10, 2018
I can reproduce this error without the linked folder B. I get the same message with :edit /tmp/A/a.txt and :NERDTreeFind. It must be happening because /tmp/ is a link that points to /private/tmp.
Note to self: Look for the resolve() function invocations. I'm guessing it needs to be done on the filename /tmp/A/a.txt before looking for it under /private/tmp/A.
Environment
:version
: nvim v0.3.1git rev-parse --short HEAD
: newest: 808f5b2Process
/tmp/A/a.txt
, and a link/tmp/B -> /tmp/A
:edit /tmp/B/a.txt
:NERDTreeFind
Current Result
Throw Exception:
Expected Result
No Exception
Screenshot(s)
Possible Fix
The text was updated successfully, but these errors were encountered: