Skip to content

Commit

Permalink
upgpkg(main/neovim-nightly): 0.9.0-dev-77-gf175ca9f7
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Oct 12, 2022
1 parent 3984f1d commit 7137f6d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/neovim-nightly/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ TERMUX_PKG_MAINTAINER="Aditya Alok <[email protected]>"
# Upstream now has version number like "0.8.0-dev-698-ga5920e98f", but actually
# "0.8.0-dev-698-g1ef84547a" < "0.8.0-dev-nightly-10-g1a07044c1", we need to bump
# the epoch of the package version.
TERMUX_PKG_VERSION="1:0.9.0-dev-71-gd9a80b8e2"
TERMUX_PKG_VERSION="1:0.9.0-dev-77-gf175ca9f7"
TERMUX_PKG_SRCURL="https://github.com/neovim/neovim/archive/nightly.tar.gz"
TERMUX_PKG_SHA256=eeec7b27ebb89bd30053cadbac50775b85bcc64f9bdb9be142177b57399f3058
TERMUX_PKG_SHA256=00a5d4c7512676cc2dd3071d5f69e2c81ff6947a9e8a81e24cab64b5eb0d4230
TERMUX_PKG_DEPENDS="libiconv, libuv, luv, libmsgpack, libandroid-support, libvterm, libtermkey, libluajit, libunibilium, libtreesitter"
TERMUX_PKG_HOSTBUILD=true

Expand Down
19 changes: 11 additions & 8 deletions packages/neovim-nightly/runtime-lua-man.lua.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
--- 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'
@@ -271,9 +271,9 @@
-- inconsistently supported. Instead, call -w with a section and a name.
local cmd
if sect == '' then
- cmd = { 'man', FIND_ARG, name }
+ cmd = { 'mandoc', FIND_ARG, name }
else
- cmd = { 'man', FIND_ARG, sect, name }
+ cmd = { 'mandoc', FIND_ARG, sect, name }
end

local lines = system(cmd, silent)

0 comments on commit 7137f6d

Please sign in to comment.