tanvirtin / vgit.nvim

Visual git plugin for Neovim
MIT License
591 stars 11 forks source link

Provide an onload callback setting #278

Closed nfrid closed 1 year ago

nfrid commented 2 years ago

Case: I want to check if a buffer is 'gitable' and change signcolumn option to 'yes' locally. But VGit loads asynchronously and I can't just create autocmd on BufEnter.

It would be great if it has an option like 'onload callback' where user can define what to do when VGit is fully load itself into the buffer.

Alternatively, it can just have an option to switch signcolumn on/off depending on the vgit status.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.