Closed statico closed 6 years ago
Well, g:NERDTreeBookmarks
is a variable that is meant to be used internally by the NERDTree. It's global because, obviously, all NERDTree instances need to share this information.
Don't set this variable. What are you even trying to accomplish?
Ah, somehow I confused this with NERDTreeMarkBookmarks
:
Apparently it didn't cause an error before for some reason but does now. I'll just remove it.
Sorry, and thanks!
Environment
VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 8 2018 13:02:13) macOS version Included patches: 1-350 Compiled by Homebrew
b3804dc
Process
brew install vim
on macOS 10.13.6mkdir /tmp/vimtest
git clone https://github.com/scrooloose/nerdtree /tmp/vimtest/.vim
HOME=/tmp/vimtest vim
:let g:NERDTreeBookmarks = 0
:NERDTree
Current Result
This error:
Expected Result
No error, just wonderful NERDTree
Screenshot(s)
Possible Fix
Don't set
g:NERDTreeBookmarks
to0
for now.Thank you for an awesome plugin!