Question: Netrw refresh tree bug
Closed this issue · 1 comments
xronin01 commented
Can you fix this bug?
vim/vim#5964
prichrd commented
Hey @xronin01,
Sorry for not answering sooner. In theory, we could override the refresh action with a custom lua function that would do the refreshing of netrw. In the past, we were able to access some of the internal netrw functions (see #19 (comment)), but in later Neovim versions, we don't seem to have access to them.
This should really get fixed in the Vim codebase and ported to Neovim. If you are invested in finding a solution, it may be worth looking at the neovim/runtime/autoload/netrw.vim script to find a way to refresh netrw cleanly.
I'll close the issue for now, but will keep an eye out, or potentially try to push a fix to the vim netrw plugin.