1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-28 08:37:06 +00:00
termux-packages/packages/neovim/runtime-lua-man.lua.patch
2022-10-06 07:23:40 +05:30

12 lines
542 B
Diff

--- a/runtime/lua/man.lua
+++ b/runtime/lua/man.lua
@@ -438,7 +438,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.
- local cmd = { 'env', 'MANPAGER=cat', 'MANWIDTH=' .. manwidth, 'MAN_KEEP_FORMATTING=1', 'man' }
+ local cmd = { 'env', 'MANPAGER=cat', 'MANWIDTH=' .. manwidth, 'MAN_KEEP_FORMATTING=1', 'mandoc' }
if localfile_arg then
cmd[#cmd + 1] = '-l'
end