zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
51.06k stars 3.17k forks source link

setting buffer_font_weight is not accurate #20571

Open energygreek opened 3 weeks ago

energygreek commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

buffer_font_weight support values between 100 and 900, but in fact it has only two options: greeter than 500 or not.

Environment

PRETTY_NAME="Debian GNU/Linux trixie/sid" NAME="Debian GNU/Linux" VERSION_CODENAME=trixie ID=debian

Zed 0.160.7 – /opt/zed.app/libexec/zed-editor

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

no error report when change it's value

donjan commented 1 day ago

Duplicate of https://github.com/zed-industries/zed/issues/14175 (might get fixed with https://github.com/zed-industries/zed/issues/13951, but that one doesn't seem to be progressing much lately)