Xuyuanp / nerdtree-git-plugin

A plugin of NERDTree showing git status
Do What The F*ck You Want To Public License
2.08k stars 150 forks source link

[nerdtree-git-status] option 'g:NERDTreeIndicatorMapCustom' is deprecated, please use 'g:NERDTreeGitStatusIndicatorMapCustom' #154

Closed guiene closed 4 years ago

guiene commented 4 years ago

Self-Diagnosis

Environment (for bug reports)

Steps to Reproduce the Issue

Current Result (Include screenshots where appropriate.)

Expected Result

Xuyuanp commented 4 years ago

What's the point?

330079598 commented 4 years ago

What's the point? [nerdtree-git-status] option 'g:NERDTreeUpdateOnCursorHold' is deprecated, please use 'g:NERDTreeGitStatusUpdateOnCursorHold , I can't find g:NERDTreeUpdateOnCursorHold in vimrc.

Delayless commented 4 years ago

In my vimrc, the problem is with vim-devicons This plugin also use the variable g:NERDTreeUpdateCursorHold to cause this error. If you really don't want to see this error message, you can add the followed in you vimrc.

autocmd VimEnter * unlet g:NERDTreeUpdateOnCursorHold

But the vim-devicons Updating On CursorHold function maybe invalid(it's just a beauty plugyin).

By the way, why did you change the names of these variables? @Xuyuanp All right, it improves the readability of the code. Is that the only reason?

Xuyuanp commented 4 years ago

Duplicate of #151