News for hackers. Stuff that matters.
Re:Monaspace by HellsMaddy on Thursday November 09, 2023 @10:48PM (#38214835)
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.

Re:Monaspace by bool3max on Friday November 10, 2023 @05:03AM (#38217031)
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