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

Error detected while processing function <lambda>3[1]..390[5]..392[2]..<SNR>47_onGitWorkdirSuccessCB #156

Closed rubin55 closed 4 years ago

rubin55 commented 4 years ago

Self-Diagnosis

Environment (for bug reports)

rubins-vimrc.txt

- Other NERDTree-dependent Plugins
    - [x] jistr/vim-nerdtree-tabs
    - [x] ryanoasis/vim-devicons
    - [x] tiagofumo/vim-nerdtree-syntax-highlight
    - [x] Others (specify): 
- [/] I've verified the issue occurs with only nerdtree-git-plugin installed.

Steps to Reproduce the Issue

  1. Updated nerdtree-git-plugin through VimPlug
  2. Observe error in :messages :
Error detected while processing function <lambda>3[1]..390[5]..392[2]..<SNR>47_onGitWorkdirSuccessCB:
line    1:
E684: list index out of range: 0

Note that very very sometimes, the error does not show up (1 in 10 tries approximately).

Current Result (Include screenshots where appropriate.)

Error:

Screenshot 2020-08-22 at 21 52 50

Expected Result

No error:

Screenshot 2020-08-22 at 21 45 47
Xuyuanp commented 4 years ago

Related #150

Xuyuanp commented 4 years ago

Please update and have a try.

rubin55 commented 4 years ago

I can confirm the issue does not occur anymore (tried about 7 times to reproduce it, all cases no error).

Xuyuanp commented 4 years ago

Good. I'm closing this issue. Feel free to comment if this occurs again.