-
- Downloads
Handle quickfix autocmd changing buffer
To keep things fast we turn off gitgutter in the current buffer during quickfix commands, e.g. :vimgrep, and turn it back on afterwards. However the user may have a quickfix autocmd which makes a different buffer the current one, e.g. :cwindow. Previously this caused an error because gitgutter expected the current buffer to remain current; now we explicitly enable the original current buffer. Fixes #904.
Please sign in to comment