winston0410 / range-highlight.nvim

An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
MIT License
203 stars 5 forks source link

Last line is not highlighted #11

Open jonasw234 opened 2 years ago

jonasw234 commented 2 years ago

When creating a minimal working example for #10 I noticed that the last line is never highlighted. Same test file:

select me
and me
|and me
and me
last one
not me

Where | marks the cursor position. Marking a range with :0,$ doesn’t highlight anything, :1,$ highlights everything up to but not including the last line and even explicitly using :1,6 doesn’t highlight the last line.

krishnakumarg1984 commented 2 years ago

I also face this same issue.