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
Race condition with NERDtree when opening vim with a directory argument or without an argument #8
Comments
Is it a solution to make that autocommand configurable? |
To clarify it a bit: both plugins (NERDTree and vimpanel) seem to do the same on VimEnter. But when doing Is there something you can do to make that configurable? |
hi |
No I don't get any errors ... I was just wondering about this behaviour since I didn't expect it. |
@wimstefan: VAM is complex, you can configure it in many ways. Eg you can force loading plugin files "earlier" then after .vimrc has been processed. How to find out whether its a VAM bug:
VAM does some magic (such as emitting VimEnter if you load plugins after Vim has started up). |
@wimstefan it would help if you linked to your |
@mihaifm: here we go then B-) -> https://gist.github.com/wimstefan/15373010fb970d06e52e |
OK guys ... I ran through the procedure as suggested by MarcWeber above and the result is that the problem persists even when VAM is not used at all (running vim with this vimrc -> https://gist.github.com/wimstefan/bc45f5e6dc80a06d0bf9) ... ":autocmd VimEnter" shows this: |
that's good to know....it means that vimpanel is capturing that event (here), instead of NERDTree. Still not replicating on my sytem, but I'll try it with your config, perhaps check it on Linux as well. |
i've put in a fix, can you try it out? |
Thanks for trying to fix it! Invoking vim with "vim ":autocmd VimEnter" still gives the same as in the very first report ... |
Here is the output of "vim --version" -> https://gist.github.com/anonymous/5881042 |
:autocmd VimEnter
--- Auto-Commands ---
VIM_PLUGIN_MANAGER VimEnter
* call vam#SourceMissingPlugins()
NERDTreeHijackNetrw VimEnter
* silent! autocmd! FileExplorer
call nerdtree#checkForBrowse(expand(""))
PluginEasyTags VimEnter
* call xolox#easytags#register(1)
Vimpanel VimEnter
* silent! autocmd! FileExplorer
fugitive VimEnter
* if expand('')==''|call fugitive#detect(getcwd())|endif
SmartusLine VimEnter
* call SmartusLineWin('Enter')
Press ENTER or type command to continue
The text was updated successfully, but these errors were encountered: