Search code examples
vimvim-pluginnerdtreeneovim

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-screen

My .vimrc can be found here.

Any idea of how to fix this?


Solution

  • 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.