-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NerdTree... after using <m> bottom panel stays bigger and wont disappear #1321
Comments
This is also happening to me, but in my case I strongly suspect there is a compatibility problem between NERDTree and vim 9.0
Nerdtree Git commit has no tag, ref More tests to narrow it down to NerdTree:
Other attempts/results:
|
Can confirm that this only became an issue for me once I'd upgraded from Vim 8 to 9.0 |
I have the same problem.
|
I upgraded to neovim 0.7.3-beta on windows (latest available on choco) and was experiencing the exact same issue. Not the perfect soluton but at least that way i have a workable enviorment... |
I also recently upgrade to vim 9, and maybe it's related to the compatibility with vim 9 |
|
Same issue here, after some testing it looks like some versions of vim 9.0 break the menu, the last known version to work is let g:NERDTreeMinimalMenu=1 Another workaround I've also found is to resize the terminal or the buffers, this makes me believe the issue may have something to do with that, forcing a redraw does not seem to make any difference. Edit: Forcing a resize solves the issue, added a pull request with those changes Edit 2: For those who stumble around this error, it's already fixed by vim in version |
I have this same problem on Vim 9. I don't know if this PR has been released, but I have the latest release of the plugin as of the time of this comment and this is still an issue. The mini menu workaround seems to be a perfect bandaid for now though let g:NERDTreeMinimalMenu=1 |
Happens on neovim as well. |
For those of who find their way here with this problem, there is a hot-fix here. Applying this locally seemed like the easiest fix for now. The actual fix should be in VIM, but I use built-in vim, so this was easier for me in the short run. |
Workaround for issue #1321 [^1]. The issue doesn't look like it'll be fixed anytime soon. Although it's a workaround this is just as good as the original behaviour. [^1]: preservim/nerdtree#1321
Tells NERDtree to stay one line height. It's also a workaround for the issue discussed here: preservim/nerdtree#1321
Whoever is still stumbling in this issue, you should check here (as mentioned previously by @softwaregravy). |
This problem is specific to some early versions of Vim9 and there is a patch for it #1322. |
Hello all.
Here's my current issue/bug.
Anyone having the same problem?
Operating System: Ubuntu 22.04
Vim/Neovim version 0.7.2
NERDTree version, found on first line of quickhelp ?: 6.10.16
Are you using any of these NERDTree-dependent plugins? No nerdtree dependent plugin.
Provide a minimal .vimrc file that will reproduce the issue.
Untitled_.Aug.19.2022.8_13.PM.mp4
The text was updated successfully, but these errors were encountered: