mistricky / codesnap.nvim

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

Use local syntax highlighting and colorscheme #94

Open DyBev opened 1 month ago

DyBev commented 1 month ago

Less of an issue, more of a feature request.

How much work would it be to use the local highlighting and colorscheme when taking a snapshot?

mistricky commented 1 month ago

Hi @DyBev, thx for this issue reporting, actually CodeSnap now using syntect to implement code highlight. Users may have their own color scheme, it's a lot of work if need to change the strategy of highlight code.

DyBev commented 1 month ago

I see thanks for pointing me towards the syntax highlighter, I can just add the syntax highlight file to that repo then it would solve the issue I'm facing where a snapshot can't be taken at all

mistricky commented 1 month ago

CodeSnap does not support custom code theme for now, but we have planned to support for custom code theme in the future.

LZDQ commented 2 weeks ago

Yeah why not just take a screenshot, fastest solution

DyBev commented 2 weeks ago

@LZDQ yes that is what I've been doing. I've moved away from the plugin now.

The comment isn't helpful. By your logic, why should this plugin exist in the first place, just take a screenshot after all you can just press cmd+shift+4 or cmd+shift+5 and take a screenshot or screen recording and you're done.