Highlight statusline numbers for selected range of text. #362
DimitrisZav
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think the title is a bit self explanatory, I will add a gif that displays this kind of functionality on other text editors. Although I am not a fan of changing the colors, I think that simply changing all the numbers of the highlighted lines to the color for the current line would be optimal.

I had something like this for the default status line that gets the start and and of the selection region with vim.fn.line("v") and vim.fn.line("."). Then using an if statement I changed the fg colors of the numbers in that region.
Beta Was this translation helpful? Give feedback.
All reactions