Closed wroyca closed 1 month ago
Thanks for the issue!
This is indeed intentional and allows to differentiate truly empty line and a line with one character (possibly whitespace).
Closing as behavior is by design.
Neovim requires
positive count
which is currently not respected by the virtcol display (perhaps by design?) in Mini.Statuslinelocation
section:
I am not sure how total number of columns in the current line is related to count.
For the sake of this example, if you, e.g., type d0 to delete the empty line, Neovim will return an error, instead expecting d1.
I can not reproduce. The d0
executes d
with 0
motion with no errors. The d1
requires a motion/textobject after typing it.
I can not reproduce. The
d0
executesd
with0
motion with no errors. Thed1
requires a motion/textobject after typing it.
I should have specified that it must be run from the command line - My bad!
I should have specified that it must be run from the command line - My bad!
Ah, then it surely doesn't have anything to do with 0 being used as number of columns in current line. Because :d
operates on lines and uses {count}
as number of lines.
Contributing guidelines
Module(s)
Statusline
Description
Hello o/.
Neovim requires
positive count
which is currently not respected by the virtcol display (perhaps by design?) in Mini.Statuslinelocation
section:For the sake of this example, if you, e.g., type d0 to delete the empty line, Neovim will return an error, instead expecting d1.
One way to solve this is to set the minimum value to
1
: