Skip to content

git blame gutter: Use smallest possible space #18145

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

Merged
merged 6 commits into from
Sep 26, 2024
Merged

Conversation

mrnugget
Copy link
Contributor

@mrnugget mrnugget commented Sep 20, 2024

Before:
screenshot-2024-09-26-15 00 20@2x

After:

screenshot-2024-09-26-15 02 24@2x

Release Notes:

  • Improved the git blame gutter to take up only the space required to display the longest git author name in the current file.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 20, 2024
@mrnugget mrnugget marked this pull request as ready for review September 26, 2024 13:09
@mrnugget mrnugget force-pushed the blame-entries-layout branch from 2700569 to 3526601 Compare September 26, 2024 13:40
@mrnugget mrnugget merged commit 7eea1a6 into main Sep 26, 2024
9 checks passed
@mrnugget mrnugget deleted the blame-entries-layout branch September 26, 2024 13:47
schpet added a commit to schpet/zed that referenced this pull request Sep 27, 2024
…reee

* origin/main:
  git blame gutter: Use smallest possible space (zed-industries#18145)
  Fix minimum gutter line number spacing (zed-industries#18021)
  terraform: Bump to v0.1.1 (zed-industries#18382)
  lsp: Do not notify all language servers on file save (zed-industries#17756)
  Remove leftover println statements (zed-industries#18389)
  Fix `use_on_type_format` setting being unused per language (zed-industries#18387)
  Avoid panic by only restoring workspace if UI has launched (zed-industries#18386)
  Fix Typo in rust language guide (zed-industries#18383)
  editor: Fix cursor shape not restoring when setting removed (zed-industries#18379)
  Avoid unwrap in file finder (zed-industries#18374)
noaccOS pushed a commit to noaccOS/zed that referenced this pull request Oct 19, 2024
Before:
![screenshot-2024-09-26-15 00
20@2x](https://github.com/user-attachments/assets/f6706325-5bef-404e-a0b4-63a5121969fa)

After:

![screenshot-2024-09-26-15 02
24@2x](https://github.com/user-attachments/assets/739d0831-0b4a-457f-917e-10f3a662e74d)


Release Notes:

- Improved the git blame gutter to take up only the space required to
display the longest git author name in the current file.

---------

Co-authored-by: Bennet Bo Fenner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants