diff options
author | Anmol Sethi <nhooyr@users.noreply.github.com> | 2016-08-09 20:18:04 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-09 20:18:04 -0400 |
commit | 3ff252ca86442e73c7bf56f63fe696043883388b (patch) | |
tree | 0de7b2c49f62d384fe9cdbe55fa76aab1f84ff3f /src | |
parent | 3e26c329940fb510a050b90f56f6146f5748bcec (diff) | |
download | rneovim-3ff252ca86442e73c7bf56f63fe696043883388b.tar.gz rneovim-3ff252ca86442e73c7bf56f63fe696043883388b.tar.bz2 rneovim-3ff252ca86442e73c7bf56f63fe696043883388b.zip |
man.vim: use -range instead of -count (#5203)
With -count, if the first argument is a number, it is made available
with <count>. Problem is, there is always a default count it is impossible
to tell whether the user set it.
Since v:count and v:count1 still work with 'keywordprg', -count is
unnecessary. But 'keywordprg' still calls ':Man' with a count prefixed.
So it must still accept a count in the line number position, but not consume
the first argument. This is done with -range.
Fixes #5202.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions