termux-packages/packages/neovim-nightly/runtime-autoload-man.vim.patch
Aditya Alok 3bc578adb3 feat: add package neovim nightly
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>

neovim-nightly: update to 0.7.0-dev+1333-g71b4c30ad

This commit has been automatically submitted by Github Actions.
2022-03-28 23:11:11 +05:30

13 lines
799 B
Diff

diff -u -r ../neovim-0851057a8deaa1197bd0af22babb62c1146d836c/runtime/autoload/man.vim ./runtime/autoload/man.vim
--- ../neovim-0851057a8deaa1197bd0af22babb62c1146d836c/runtime/autoload/man.vim 2018-02-04 12:54:30.000000000 +0000
+++ ./runtime/autoload/man.vim 2018-02-05 00:48:37.422608665 +0000
@@ -149,7 +149,7 @@
" Force MANPAGER=cat to ensure Vim is not recursively invoked (by man-db).
" http://comments.gmane.org/gmane.editors.vim.devel/29085
" Set MAN_KEEP_FORMATTING so Debian man doesn't discard backspaces.
- let cmd = ['env', 'MANPAGER=cat', 'MANWIDTH='.manwidth, 'MAN_KEEP_FORMATTING=1', 'man']
+ let cmd = ['env', 'MANPAGER=cat', 'MANWIDTH='.manwidth, 'MAN_KEEP_FORMATTING=1', 'mandoc']
return s:system(cmd + (s:localfile_arg ? ['-l', a:path] : [a:path]))
endfunction