Broken rendering due to tabs in file content

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 3 comments · opened Mar 6, 2025 · closed Mar 14, 2025
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

<img width="1266" alt="Image" src="https://github.com/user-attachments/assets/e33a374b-b84c-495d-aeba-fd66907d0207" />

Whenever claude code suggests code changes it looks weird like this, with the border on the right wrapping to a newline. I have wrapping disabled in this buffer. If I resize it, the text resizes, but still is wonky with the new lines. After accepting the change, it looks fine:

<img width="1170" alt="Image" src="https://github.com/user-attachments/assets/2674990f-88fe-45aa-a3cb-756a918e4f4f" />

Is there a way to get this border to properly render, or disable the border entirely when looking at the suggestion diff view?

I am running claud code in a neovim terminal.

View original on GitHub ↗

3 Comments

bcherny collaborator · 1 year ago

Restart to update to 0.2.41 and lmk if it's feeling better!

trevorwhitney · 1 year ago

yup, looks great now, thank you!

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.