You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When customizing heads' and bulletpoints' emoji icons, H1 and bullet points can't use "a space" after the icon, like my current config here
Taking H1 as an example, if I add the space after the icon (i.e. '🐹 ' rather than '🐹'), the first char ('f') after the H1 is overlapped (screenshot below)
Yeah, this is due to the number of characters we have on an h1. Since it's only the single # and the space, there are only 2 characters available to us before we start overwriting the title. Some more details on it here: #12 (comment).
I've added this as a known limitation for the time being. I'm not sure if I want to fix this, messing with text positioning is not something I want this plugin to do in general. Ideally it is just an overlay over top of the raw text rather than something that does a lot of displacing.
Activity
MeanderingProgrammer commentedon Jun 8, 2024
Yeah, this is due to the number of characters we have on an h1. Since it's only the single
#and the space, there are only 2 characters available to us before we start overwriting the title. Some more details on it here: #12 (comment).I've added this as a known limitation for the time being. I'm not sure if I want to fix this, messing with text positioning is not something I want this plugin to do in general. Ideally it is just an overlay over top of the raw text rather than something that does a lot of displacing.
xixiaofinland commentedon Jun 9, 2024
I see, thanks for the explanation. I agree it's better to keep it simple and not mess up with the original text.
MeanderingProgrammer commentedon Jul 12, 2024
I did push a fix for this here 5ce3566, if you want to try using longer icons / text and are using neovim >=
0.10.0.xixiaofinland commentedon Jul 13, 2024
Thanks for notifying! I will give it a try