Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantom inline git-blame messages at the bottom of buffers #333

Closed
mrded opened this issue Feb 28, 2023 · 2 comments
Closed

Phantom inline git-blame messages at the bottom of buffers #333

mrded opened this issue Feb 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mrded
Copy link

mrded commented Feb 28, 2023

Description

I've just updated from v0.1.2 to v0.2.1 with a very minimal config, and noticed phantom inline git-blame messages at the bottom of buffers.

I believe I have it all disabled. This looks like a bug to me, please advise.

    require('vgit').setup({
      settings = {
        live_blame = { enabled = false },
        live_gutter = { enabled = false },
      }
    })

Opening a directory with nvimtree buffer:
image

Opening a file:
image

I only see the message when a buffer is in focus.

  • nvim --version output: NVIM v0.8.3
  • Operating system: macOs 13.2.1 (22D68)
  • vgit version: v0.2.1
@mrded mrded added the bug Something isn't working label Feb 28, 2023
@tanvirtin
Copy link
Owner

Hey, this is actually a feature lol. It is showing you the author that committed the most lines in this file, more like a code owner of that file. You can disable it using the following:

require('vgit').setup({
    settings = {
        authorship_code_lens = { enabled = false },
    }
})

@mrded
Copy link
Author

mrded commented Mar 26, 2023

Thanks for the reply. I don't think it should be enabled by default, as it's very confusing.

Also it triggers on random buffers, not only on files.

If you look at the screenshot I've provided, it's showing on nvimtree buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants