Skip to content
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

:highlight Group font=xyz doesn't do anything. #448

Open
OskarSigvardsson opened this issue Jan 31, 2017 · 1 comment
Open

:highlight Group font=xyz doesn't do anything. #448

OskarSigvardsson opened this issue Jan 31, 2017 · 1 comment
Labels
Feature Request New features request. Not an existing issue or bug.

Comments

@OskarSigvardsson
Copy link

Hi! I wanted to try to do this trick in MacVim, basically using two different fonts at the same time (specifically Fira Code for operator ligatures and Operator Mono for everything else).

Looking through the docs, it seemed like setting the font on a highlight group was my best bet (like :highlight MyGroup font='Fira Code:h16') but it didn't work. If i misspell the font's name it generates an error which it doesn't normally, so it's clearly recognizing the font-name. But nothing happens, it doesn't actually apply the font to the highlight group in MacVim (I also checked that the group was a valid group by changing guifg=white, and it is valid). I'm using Core Text renderer, but it seems like it doesn't work either way.

I don't know if this is a problem with core vim or MacVim, but it seemed to be a GUI issue, so I'm reporting it here. If it's a known limitation of MacVim, it should probably be noted in the docs.

BTW, given that this is my first time communicating with this project: thanks for all your hard work and for providing the best GUI version of Vim there is! MacVim is so much better than the options on other OS's, at least as far as I've tried.

@OskarSigvardsson
Copy link
Author

Oh, silly me! I just reread the docs and saw that it does mention that it only works on Motif and Athena! I don't know how I missed that the first 10 times i read through it. Still, maybe a candidate for a feature enhancement? It would be real nice to have...

@splhack splhack added the Feature Request New features request. Not an existing issue or bug. label Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New features request. Not an existing issue or bug.
Projects
None yet
Development

No branches or pull requests

2 participants