I have set my .vimrc to open NERDTree on startup and whenever I open vim at the default location (~) I get this warning prompt:NERDTree: Please wait, caching a large dir ... DONE (134 nodes cached).Press ENTER or type command to continueI can immediately skip the message with ENTER. Does anyone know if I can set the trigger for the warning to something larger than 134 nodes. Or how else I could suppress this annoying prompt?
Suppress warning in vim startup: NERDTree: Please wait, caching a large dir ... Press Enter
vimrc;plugin nerdtree
It seems like the (undocumented) variable g:NERDTreeNotificationThreshold might be what you are looking for (I have not tested this myself, but it is used in the plugin code for exactly your situation and nowhere else).Thus setting it to a value higher than 134, e.g. let g:NERDTreeNotificationThreshold = 500 in your .vimrc should hopefully solve your problem.