neovim: Update to git master

This commit is contained in:
Fredrik Fornwall 2018-06-06 02:04:20 +02:00
parent 5cebb82819
commit df1d091e7a
2 changed files with 3 additions and 14 deletions

View 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=dc536295875640ef5d7b28d8135d0ef72d782d5e
TERMUX_PKG_VERSION=0.2.3~2018.02.08
TERMUX_PKG_SHA256=23ee040ac9bb8c67c839b21a993d88e79f7ac5c2fc3612498523c6f2d255f261
local _COMMIT=f795c3ce7cfec5dec5b4389ee926b9c8f0cacdf8
TERMUX_PKG_VERSION=0.2.3~2018.06.06
TERMUX_PKG_SHA256=6450ca461e66b421ebc5deb50c84bb81af6aca4373478751e9b13dc4e008560b
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

View File

@ -10,14 +10,3 @@ diff -u -r ../neovim-0851057a8deaa1197bd0af22babb62c1146d836c/runtime/autoload/m
return s:system(cmd + (s:localfile_arg ? ['-l', a:path] : [a:path]))
endfunction
@@ -213,7 +213,9 @@
function! s:get_path(sect, name) abort
if empty(a:sect)
- return s:system(['man', s:find_arg, a:name])
+ " Take the first one if multiple lines returned, such as when
+ " both man1p/test.1p and man1/test.1 exists.
+ return split(s:system(['man', s:find_arg, a:name]), "\n")[0] . "\n"
endif
" '-s' flag handles:
" - tokens like 'printf(echo)'