zlacker

[return to "Monaspace"]
1. helix2+P8[view] [source] 2023-11-09 20:53:56
>>davidb+(OP)
How would you configure a text editor or terminal to use different fonts based on syntax (e.g. neon for code, argon for comments)?
◧◩
2. HellsM+J61[view] [source] 2023-11-10 03:48:20
>>helix2+P8
I've configured Neovim's syntax highlighting to make comments bold italic, and then I've configured my terminal (Kitty) to display a different font for bold italic text.

Using this approach, you can use up to 4 different fonts: One for normal text, one for italic, one for bold, and one for bold italic. And the font for each group doesn't necessarily need to be that style, e.g. you can use a non-bold version for the `bold` font, etc.

◧◩◪
3. bool3m+9G1[view] [source] 2023-11-10 10:03:25
>>HellsM+J61
Feels very hacky.
[go to top]