NERDTree E704 error on opening a directory

80 Views Asked by At

When autostarting NERDTree using this config:

autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | exe 'NERDTree' | endif

I was getting error E704.

1

There are 1 best solutions below

1
Alexandre On

Update your NERDTree plugin. In my case it was executing vim-plug update command:

:PlugUpdate