neovim/runtime/plugin
Edwin Pujols ba2e94d223 runtime: Fix man.vim count handling.
Here I use a negative number to decide whether the count has been
explicitly set. I think it unlikely that negative sections will ever be
created given that negative numbers complicate argument handling:
```
$ man -1 foo
man: invalid option -- '1'
```
and given that there's already precedence for alphanumeric sections like
`3p`, `3x`, `n`, etc.

---

This does work, though:
```
$ man -S -3 baz
```
With `man baz.-3` and `man 'baz(-3)'`, (GNU) man *might* consider `-3`
internally as a section, but in the end reports as if the whole
argument was the name of a topic:
```
$ man 'baz(-3)'
No manual entry for baz(-3)
```

---

Closes #13411.
2020-11-29 19:56:15 -04:00
..
gzip.vim vim-patch:c0514bf4777a 2017-04-30 22:10:21 +02:00
health.vim health.vim: remove :CheckHealth command 2017-12-27 13:00:58 +01:00
man.vim runtime: Fix man.vim count handling. 2020-11-29 19:56:15 -04:00
matchit.vim Add g:loaded_matchit check (#13226) 2020-11-04 18:46:03 -05:00
matchparen.vim vim-patch:8.1.0143: matchit and matchparen don't handle E363 2018-11-13 21:15:29 -05:00
netrwPlugin.vim netrw.vim: workaround gx bug #10938 2019-09-04 06:51:01 -07:00
rplugin.vim rplugin.vim: Add migration support for Windows, nvim/ -> nvim-data/ 2018-12-27 21:07:28 -05:00
shada.vim runtime: Add [ft]plugin/shada.vim files that automatically open .shada 2015-11-01 21:27:28 +03:00
spellfile.vim spell: Fix argument and avoid redundant prompt. 2016-04-10 04:27:39 -04:00
tarPlugin.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
tohtml.vim vim-patch:f0d58efc9dc4 2019-07-29 20:50:07 +02:00
tutor.vim runtime: Include vim-tutor-mode 2015-08-15 15:25:30 -03:00
zipPlugin.vim vim-patch:d07969093a9b 2017-04-28 22:51:30 +02:00