macvim-dev / macvim-dev/macvim
`:highlight Group font=xyz` doesn't do anything.
Nessuno ha ancora preso questa issue.
- Lingua principale
- Vim Script
- Stelle
- 7.9k
- Fork
- 691
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento del carattere di :highlight in MacVim con e senza il renderer Core Text, usando l’impostazione documentata del carattere di evidenziazione e un gruppo di evidenziazione valido. Verifica se l’attributo del carattere viene gestito da MacVim o da core Vim, quindi conferma se il carattere viene applicato o se la limitazione debba essere documentata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, vim
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100