2017-01-02 01:00:36 +01:00
|
|
|
diff -u -r ../neovim-c5f4b92ff93a40ec4e77b78d0576903e7a60eefd/runtime/autoload/man.vim ./runtime/autoload/man.vim
|
|
|
|
--- ../neovim-c5f4b92ff93a40ec4e77b78d0576903e7a60eefd/runtime/autoload/man.vim 2017-01-01 15:12:33.000000000 -0500
|
|
|
|
+++ ./runtime/autoload/man.vim 2017-01-01 18:56:40.067529143 -0500
|
|
|
|
@@ -116,7 +116,7 @@
|
|
|
|
" Force MANPAGER=cat to ensure Vim is not recursively invoked (by man-db).
|
2016-09-24 21:09:38 +02:00
|
|
|
" http://comments.gmane.org/gmane.editors.vim.devel/29085
|
|
|
|
" Respect $MANWIDTH, or default to window width.
|
2017-01-02 01:00:36 +01:00
|
|
|
- return s:system(['env', 'MANPAGER=cat', (empty($MANWIDTH) ? 'MANWIDTH='.winwidth(0) : ''), 'man', a:path])
|
|
|
|
+ return s:system(['env', 'MANPAGER=cat', (empty($MANWIDTH) ? 'MANWIDTH='.winwidth(0) : ''), 'mandoc', a:path])
|
2016-09-24 21:09:38 +02:00
|
|
|
endfunction
|
|
|
|
|
2017-01-02 01:00:36 +01:00
|
|
|
function! s:put_page(page) abort
|