简体   繁体   中英

Neovim - gitgutter diff column appears in Nerd Tree

So gitgutter diff column appear in my NERDTree buffer whether I have option:

let g:gitgutter_sign_column_always = 1

enabled or disabled.

Sometimes it doesn't appear at start but after I switch between tree and file buffer few times, it appears.

Here is how it looks like: VIM屏

My .vimrc can be found here .

Any idea of how to fix this?

I don't know what exacly causes this issue but i worked it around using:

let g:gitgutter_eager = 0

which disables signs updates when buffer/tab is switched.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM