mistricky / codesnap.nvim

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

Fix: Adjusted Selection Direction #8

Closed marqmitk closed 7 months ago

marqmitk commented 7 months ago

Changes made: Now, when users select upward, I swapped start and end positions to match.

Also, I noticed a bug in visual block mode, you always show the whole line instead of just the selected characters. Couldn't figure out how to fix it though, since I'm not too familiar with the Vim API :(

mistricky commented 7 months ago

Hi @marqmitk, thx for your PR and bug report, would you mind open an issue that describe about

in visual block mode, you always show the whole line instead of just the selected characters

mistricky commented 7 months ago

Hi @marqmitk, thx for your PR again! have you test these changes? cause seems like reverse selection is not for me still

marqmitk commented 7 months ago

yes, i tested them! but i just noticed that its only fixed if the line numbers are reversed (for me atleast), not the characters / column, i think you would have to check for that too, let me quickly do that!