-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear all old signs before reapplying
The previous implementation worked under the assumption that applying a sign would overwrite any existing signs in the signcol. After reading :h signcolumn it was clear that they were just getting added to a list and the top priority sign was being rendered. If a user had configured a signcolumn with more than 1 col then they would see duplicate Hunk signs. This fixes the issue by clearing all Hunk signs on a buffer before reapplying new ones. Fixes #2
- Loading branch information
1 parent
cad38b2
commit d79dcc0
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters