neovim/runtime
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
..
autoload runtime: Fix man.vim count handling. 2020-11-29 19:56:15 -04:00
colors vim-patch:8.0.1777: cannot cleanup before loading another colorscheme (#9104) 2018-10-11 08:27:37 +02:00
compiler xmllint.vim: patch runtime/compiler to 1c6737b20a5 2020-11-22 22:36:17 +01:00
doc doc: fix lsp statusline examle (#13286) 2020-11-29 14:24:52 +01:00
ftplugin gitrebase.vim: patch runtime/ftplugin to c08ee7476 2020-11-27 04:16:36 +01:00
indent xml.vim: patch runtime/indent to 4ceaa3a6e0b8cb299 2020-11-22 22:42:02 +01:00
keymap runtime: russian-jcukenwintype.vim keymap #11461 2019-11-27 22:57:11 -08:00
lua lsp: Reduce memory usage for buffering the message from LSP. 2020-11-29 06:49:44 +09:00
macros vim-patch:cd5c8f825078 2017-11-07 01:16:42 +01:00
pack/dist/opt Sync cfilter 1.1 from vim 2020-09-21 11:29:02 +03:00
plugin runtime: Fix man.vim count handling. 2020-11-29 19:56:15 -04:00
print
queries/c treesitter: runtime queries 2020-10-11 21:18:28 +02:00
spell runtime: include en.utf-8.spl 2018-01-15 23:58:52 +01:00
syntax Merge pull request #13397 from adrian5/filetype-gitrebase 2020-11-27 09:20:33 -05:00
tools fixup! vim-patch:68e6560b84f1 2020-08-15 10:57:17 -04:00
tutor doc: fix typos 2019-11-27 22:47:25 -08:00
bugreport.vim vim-patch:314dd79cac2a 2019-07-29 20:50:07 +02:00
CMakeLists.txt build: fix doc_html target 2019-01-04 02:17:23 +01:00
delmenu.vim
filetype.vim vim-patch:8.2.2041: haskell filetype not optimally recognized 2020-11-24 22:03:36 -05:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim vim-patch:8.1.2408: syntax menu and build instructions outdated 2019-12-07 17:39:43 -05:00
menu.vim vim-patch:314dd79cac2a 2019-07-29 20:50:07 +02:00
mswin.vim vim-patch:d47d52232bf2 2019-07-29 20:50:07 +02:00
nvim.appdata.xml release.sh [ci skip] 2019-11-24 17:53:33 -08:00
nvim.desktop
nvim.png Dist: make icon a proper square (#9716) 2019-03-11 21:00:12 +01:00
optwin.vim vim-patch:8.1.1228: not possible to process tags with a function 2019-10-22 20:13:02 +01:00
rgb.txt
scripts.vim vim-patch:8.2.0930: script filetype detection trips over env -S argument 2020-06-18 18:01:42 -04:00
synmenu.vim vim-patch:8.1.2408: syntax menu and build instructions outdated 2019-12-07 17:39:43 -05:00