Feels very hacky.
Re:Monaspace
by HellsMaddy on Friday November 10, 2023 @09:54PM
(#38227225)
The terminal is by nature very hacky.
Re:Monaspace
by overbytecode on Friday November 10, 2023 @07:19AM
(#38217970)
I use kitty and neovim too, would you mind sharing how you got this to work?
Re:Monaspace
by HellsMaddy on Saturday November 11, 2023 @01:28AM
(#38228056)
In Neovim, make sure your desired highlight groups have `gui=bold,italic`, e.g.
hi Comment guifg=#7e7490 gui=bold,italic
In Kitty, set the desired fonts: font_family IosevkaTerm Nerd Font Mono
italic_font IosevkaTerm Nerd Font Mono
bold_font IosevkaTerm Nerd Font Mono
bold_italic_font Iosevka Term Slab
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.