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

Feature request: add the ability to ignore blank lines for git blames. #1005

Open
s4my opened this issue Apr 20, 2024 · 0 comments
Open

Feature request: add the ability to ignore blank lines for git blames. #1005

s4my opened this issue Apr 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@s4my
Copy link

s4my commented Apr 20, 2024

When the cursor is on a blank line, I don't think we should show the git blame, it's mostly useless and annoying. The only use case I can think of, is if you're looking for "who's the idiot who added a blank line here".

So I propose we either add an option in current_line_blame_opts to ignore blank lines, something like ignore_blank_lines: boolean, or ignore blank lines by default all together. This will have an additional performance benifit.

I can work on this, but I don't know what approach you would like me to implement?

@s4my s4my changed the title Feature request: add the ability to ignore blanc lines for git blames. Feature request: add the ability to ignore blank lines for git blames. Apr 20, 2024
@lewis6991 lewis6991 added the enhancement New feature or request label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants