mistricky / codesnap.nvim

📸 Snapshot plugin with rich features that can make pretty code snapshots for Neovim
MIT License
473 stars 15 forks source link

Add support for font weight and type #75

Open gwenwindflower opened 2 months ago

gwenwindflower commented 2 months ago

I have very specific font specifications in Kitty terminal, it would be really cool to be able to use those same settings for the fonts. Right now if you choose a font family that only has Thin weights or Italics to try to force it to use that font, it just returns a default sans font.

Ideally I would like something like:

code_font_family = "EllographCF Nerd Font Thin"
watermark_font_family = "EllographCF Nerd Font Light Italic"

Love this plugin though, fantastic work!

mistricky commented 2 months ago

Great advice, I will add this feature in the next version