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

Live gutter overwrites other signs #369

Open
mrded opened this issue Oct 8, 2024 · 0 comments
Open

Live gutter overwrites other signs #369

mrded opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mrded
Copy link

mrded commented Oct 8, 2024

Description

I noticed that live_gutter always overrides other signs. Eg: when LSP is showing errors - it sets signs, however if the code was changed - vgit will override that sign with a git diff gutter.

I think it should be a way to prioritise the live gutter over other signs.

How to test:

  1. vgit is enabled and intitialised
  2. change a line in a file
  3. at the same line, set a custom sign: :sign place 1 line=%d name=heartSign
  4. at the same line, toggle the live gutter: :lua require('vgit').toggle_live_gutter()

I would expect a heart sign to be shown:
image

However, the live gutter is shown instead:
image

NVIM v0.10.1
vgit v0.2.3

Not sure if it's a bug of feature request, but I didn't expect vgit overriding my signs, that's why I set it as a bug.

@mrded mrded added the bug Something isn't working label Oct 8, 2024
@mrded mrded changed the title Live gutter overwrites other sign Live gutter overwrites other signs Oct 8, 2024
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

1 participant