Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlens causing line break before code block [duplicate]

I recently started using the Gitlens vscode extension, and it offers alot of great features. However, it seems to be creating an empty line above code blocks sometimes, like this:

enter image description here

As you can see, there's this empty space between line 11 and 12, just to tell me about the git blame. I played with the settings and I can't seem to get rid of it, and its driving me nuts. Anyone know how to remove git blame annotation that causes the line space?

like image 984
Seth Lutske Avatar asked Jul 15 '26 00:07

Seth Lutske


1 Answers

If anyone else has this problem, I solved it by searching for 'block' in vscode settings, fiding the gitlens section, and disabling these:

  • Gitlens › Code Lens › Authors: Enabled
  • Gitlens › Code Lens › Recent Change: Enabled
like image 87
Seth Lutske Avatar answered Jul 17 '26 18:07

Seth Lutske



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!