fix(files): stop nvim.dir from showing if files is default explorer#2493
fix(files): stop nvim.dir from showing if files is default explorer#2493abeldekat wants to merge 1 commit into
nvim.dir from showing if files is default explorer#2493Conversation
Details: - See PR 40507 in neovim/neovim
|
In my config,
|
|
I am skeptical of this. I'd wait for that to merge and simply set the flag instead. |
|
I apologize for my short-sightedness. Basically, we're trying to figure out a new way to handle builtin neovim plugins more ergonomically and dir.lua is kind of the guinea pig.
I believe so? If you're talking about "dynamically" disabling dir.lua after startup, that should work... |
The to-be-maybe-restored documentation about
I.e. this will only work if 'mini.files' is loaded during startup. This might not be the case if it is lazy loaded (i.e. after startup). What is needed for 'mini.files' is the way to disable 'dir.lua' from hijacking directory buffers. The |
|
Working on a solution for this now. I will comment on this thread when it's done. Disabling Thanks for your patience. |
Details: - There is some work being done upstream on better default explorer (instead of `netrw`). Reacting to each its change is a bit too much for now. Temporarily disable tests for 'mini.files' as default explorer, but check on the upstream progress regularly to adjust 'mini.files' behavior and re-enable tests as soon as reasonably possible. Related to #2493
|
I've temporarily disabled the default explorer 'mini.files' tests on Nightly. Hopefully for not too long. |


Details:
Tests that failed:
Default explorer | works on startup:Default explorer | works in:edit .`Default explorer | works in:tabfind .`Default explorer | handles close without opening fileSurprisingly, test
Default explorer works in :vsplitdid not fail.Probablybecause of thevsplit...)Before the fix,
vim.fn.getbufinfo(1):... variables = { changedtick = 4, current_syntax = "directory", minifiles_processed_dir = true, nvim_dir = "/home/user/.config/repro" }, ...After:
... variables = { changedtick = 3, minifiles_processed_dir = true }, ...