neovim: Update to latest git (fixes #2092)
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 5 Feb 2018 00:58:02 +0000 (01:58 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 5 Feb 2018 00:58:02 +0000 (01:58 +0100)
packages/neovim/build.sh
packages/neovim/runtime-autoload-man.vim.patch

index 79bcfcc..07b2b1b 100644 (file)
@@ -1,8 +1,8 @@
 TERMUX_PKG_HOMEPAGE=https://neovim.io/
 TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility (nvim)"
-local _COMMIT=4618c9c43b2fe052332329b347ac10b4b1db94b5
-TERMUX_PKG_VERSION=0.2.3~2017.11.29
-TERMUX_PKG_SHA256=8d921d73feb1388700f906b2ab2c06a4e44223af60ddc767a6af8b9ca4c78dd5
+local _COMMIT=0851057a8deaa1197bd0af22babb62c1146d836c
+TERMUX_PKG_VERSION=0.2.3~2018.02.04
+TERMUX_PKG_SHA256=db7a763d14f5f34dad9d201d6992295c9ea2a27ee3a3eb721b9cd64c4fe13623
 TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/${_COMMIT}.zip
 TERMUX_PKG_DEPENDS="libuv, libmsgpack, libandroid-support, libvterm, libtermkey, libutil, liblua, libunibilium"
 TERMUX_PKG_HOSTBUILD=true
index e61772d..d5a6c6e 100644 (file)
@@ -1,12 +1,12 @@
-diff -u -r ../neovim-1b2acb8d958c1c8e2f382c2de9c98586801fd9fe/runtime/autoload/man.vim ./runtime/autoload/man.vim
---- ../neovim-1b2acb8d958c1c8e2f382c2de9c98586801fd9fe/runtime/autoload/man.vim        2017-06-03 21:00:05.000000000 +0200
-+++ ./runtime/autoload/man.vim 2017-06-05 01:15:56.254306768 +0200
-@@ -148,7 +148,7 @@
-   let manwidth = empty($MANWIDTH) ? winwidth(0) : $MANWIDTH
+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
--  let cmd = ['env', 'MANPAGER=cat', 'MANWIDTH='.manwidth, 'man']
-+  let cmd = ['env', 'MANPAGER=cat', 'MANWIDTH='.manwidth, 'mandoc']
+   " 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