diff --git a/packages/neovim/build.sh b/packages/neovim/build.sh index ccea4cd6d..6e2202263 100644 --- a/packages/neovim/build.sh +++ b/packages/neovim/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=0.5.0 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=2294caa9d2011996499fbd70e4006e4ef55db75b99b6719154c09262e23764ef TERMUX_PKG_DEPENDS="libiconv, libuv, luv, libmsgpack, libandroid-support, libvterm, libtermkey, libluajit, libunibilium, libtreesitter" diff --git a/packages/neovim/src-nvim-eval-funcs.c.patch b/packages/neovim/src-nvim-eval-funcs.c.patch new file mode 100644 index 000000000..9cd269192 --- /dev/null +++ b/packages/neovim/src-nvim-eval-funcs.c.patch @@ -0,0 +1,13 @@ +diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c +index 801b0f9..35c54df 100644 +--- a/src/nvim/eval/funcs.c ++++ b/src/nvim/eval/funcs.c +@@ -4306,6 +4306,8 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr) + #ifdef _WIN64 + "win64", + #endif ++ "android", ++ "termux", + #ifndef CASE_INSENSITIVE_FILENAME + "fname_case", + #endif