APZelos / blamer.nvim

A git blame plugin for neovim inspired by VS Code's GitLens plugin
MIT License
733 stars 35 forks source link

Can't enable blamer when g:blamer_enabled initially set to 0 #41

Closed hillaryychan closed 3 years ago

hillaryychan commented 3 years ago

Steps to reproduce:

  1. Have let g:blamer_enabled = 0 in your .vimrc or init.vim
  2. Open tracked file in a git repo
  3. Call :BlamerShow or :BlamerToggle
georgesofianosgr commented 3 years ago

Thanks for opening an issue, I noticed that too yesterday. I will try to fix it this week

hillaryychan commented 3 years ago

Thanks for the reply.

I ended up looking into this and made a PR before I saw your comment. Feel free to dismiss my changes and fix it as you please.

woxiqingxian commented 3 years ago

Expect to fix the problem