Skip to content
Discussion options

You must be logged in to vote

The inline preview from gitsigns isn't exactly special. By that I mean gitsigns is doing the same thing this plugin is doing, it's adding extmarks to decorate parts of the buffer. I would have no way of accounting for gitsigns being active on some set of lines and removing my own extmarks. Basically we're doing the same thing and having awareness of each other isn't really possible.

That's the case for additions, but you can actually disable decorations for removed sections. The only reason this is possible is because gitsigns shows removed chunks in a separate buffer inside your current buffer. You can add an override to disable this plugin based on buflisted = false, which will remove d…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KaihoCD
Comment options

Answer selected by KaihoCD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants