diff --git a/packages/neovim/build.sh b/packages/neovim/build.sh index 61925a29d6..b1ea7d708a 100644 --- a/packages/neovim/build.sh +++ b/packages/neovim/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="Apache-2.0, VIM License" TERMUX_PKG_LICENSE_FILE="LICENSE.txt" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" TERMUX_PKG_VERSION="0.11.4" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=83cf9543bedab8bec8c11cd50ccd9a4bf1570420a914b9a28f83ad100ca6d524 TERMUX_PKG_AUTO_UPDATE=true diff --git a/packages/neovim/disable-checkhealth-locale-warning.patch b/packages/neovim/disable-checkhealth-locale-warning.patch new file mode 100644 index 0000000000..296c9532fb --- /dev/null +++ b/packages/neovim/disable-checkhealth-locale-warning.patch @@ -0,0 +1,15 @@ +diff --git a/runtime/lua/vim/health/health.lua b/runtime/lua/vim/health/health.lua +index 6418d26fba..2b826898cc 100644 +--- a/runtime/lua/vim/health/health.lua ++++ b/runtime/lua/vim/health/health.lua +@@ -82,7 +82,9 @@ local function check_config() + }) + end + +- if vim.v.ctype == 'C' then ++ -- This check isn't meaningful on Android since there is no traditional locale mechanism. ++ -- Disable it to avoid false positives in `:checkhealth` ++ if false then + ok = false + health.error( + 'Locale does not support UTF-8. Unicode characters may not display correctly.'