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 option to support line numbers #88

Closed Dmusulas closed 1 month ago

Dmusulas commented 1 month ago

I believe a viable enhancement to this plugin would be addition of the option to show line numbers in the screenshot. It might help when not whole file is screenshotted but rather a section of it. When creating guides online or sharing code snaps with others it helps whomever is reading to orient themselves in the file.

mistricky commented 1 month ago

Hi @Dmusulas, thx for the issue reporting, line numbers are supported in v1.2.0, you can upgrade CodeSnap.nvim to v1.2.0 and add has_line_number = true to open display line numbers feature.

image