Closed azchatlanin closed 2 years ago
I've noticed this too, but i haven't been able to reproduce consistently. Thanks for reporting this, i'll fix it asap.
I saw that it was fixed, but I'm probably doing something wrong because I'm still observing the error.
I removed the plugin completely, reinstalled it again and the error is reproduced.
by doing exactly the pattern you mentionned in the issue ?
Yes, it is. Open a folder Open File Close Folder Go to another folder Open File
result - the old folder opens
I cannot reproduce anymore, are you sure you are on the latest commit ?
She appears again and again. Pleace, help me! What am I doing wrong?:)
NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3 Compiled by builduser
Today's update!
Today's update!
Is the problem resolved?
Today's update!
Is the problem resolved?
No! I showed it that I have the latest version
I am observing this error on three different machines. One of which is the server. It's strange, but I couldn't find any tests in your code. Apparently I was looking for it badly, probably.
I couldn't find any tests in your code. Apparently I was looking for it badly, probably.
Sorry, no tests at the moment.
We will keep digging into this issue.
Please tell me are you able to reproduce this error yourself? Or is it happening to me alone?
I tried to find the reason, but my knowledge of lua is not very good. But what I found out may help. Apparently, this is happening because of the render. For some reason, it continues to render closed directories as open.
I'm not able to reproduce.
It looks like you might have some other plugins / automation running there. Can you reproduce this with nvt-min.lua
as per bug report?
I tried to find the reason, but my knowledge of lua is not very good.
Logging can be helpful when you are trying to diagnose issues.
You can set all = true
and add log lines e.g.:
log.line("all", " bufpath '%s' severity %d", bufpath, severity)
Tail the log in another terminal while you're running your tests.
Thank you so much for your patience. I found why this is happening. If you set this setting, you will see this effect.
opt.autochdir = true
Thank you so much for your patience. I found why this is happening. If you set this setting, you will see this effect.
opt.autochdir = true
TIL
Description
If you select a file from the previous folder, then close the folder, and then open another file in the new folder, then the old folder opens
Neovim version
Operating system and version
archlinux
nvim-tree version
master
Minimal config
Steps to reproduce
open the folder select any file in it to view close the folder go to another open folder select the file and see the self-opening old folder
Expected behavior
No response
Actual behavior
No response