airblade / vim-gitgutter

A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
MIT License
8.37k stars 297 forks source link

b:gitgutter_was_enabled error anytime you run `saveas newfile.txt` #865

Closed ghost closed 1 year ago

ghost commented 1 year ago

What is the latest commit SHA in your installed vim-gitgutter? 8a2f819

What vim/nvim version are you on? VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jun 23 2023 15:15:13)

error

This error occurs consistently whether I am in a git repo or not. Repro steps:

ghost commented 1 year ago

@airblade Thanks so much for fixing this!