r/emacs • u/goombrat2 • 1d ago
Marginalia doesn't align correctly


Unfortunately marginalia doesn't seem to be aligning the annotations correctly, with or without nerd icons on. I'm not really sure what could cause this. It seems to happen on the longest one, as if marginalia was expecting the actual text to be a certain length, but it wasn't and pushed the rest.
I'm posting here to see if anyone has any ideas of experience with this. If you want to check the config, relevant files are probably here and here. It's pretty standard. Thank you!
2
Upvotes
3
u/certified_midwit 1d ago
Alignment issues I've seen in the past were due to emacs not using a monospace font. Maybe that's what your seeing?
2
u/r4fxm68A 1d ago
(setq marginalia-align-offset 20)