Make has(android/termux) return true in neovim
This commit is contained in:
parent
fa4402326d
commit
994dcc0a07
@ -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"
|
||||
|
13
packages/neovim/src-nvim-eval-funcs.c.patch
Normal file
13
packages/neovim/src-nvim-eval-funcs.c.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user