From 9fa9e83a74ad4b23247a98261d557d9ba7b49bcf Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Wed, 22 Apr 2026 20:46:44 +0200 Subject: [PATCH] neovim: update to 0.12.2 --- .../patches/health-check-allow-build-type-none.patch | 12 ++++++------ srcpkgs/neovim/template | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/srcpkgs/neovim/patches/health-check-allow-build-type-none.patch b/srcpkgs/neovim/patches/health-check-allow-build-type-none.patch index 4ab743e02ad..4d87363f915 100644 --- a/srcpkgs/neovim/patches/health-check-allow-build-type-none.patch +++ b/srcpkgs/neovim/patches/health-check-allow-build-type-none.patch @@ -1,15 +1,15 @@ Void uses the "None" build type to apply our chosen compile settings. diff --git a/runtime/lua/vim/health/health.lua b/runtime/lua/vim/health/health.lua -index dd6fe7f..25d8d81 100644 +index a744f1b..1067617 100644 --- a/runtime/lua/vim/health/health.lua +++ b/runtime/lua/vim/health/health.lua -@@ -157,7 +157,7 @@ local function check_performance() - local buildtype = vim.fn.matchstr(vim.fn.execute('version'), [[\v\cbuild type:?\s*[^\n\r\t ]+]]) +@@ -173,7 +173,7 @@ local function check_performance() if buildtype == '' then health.error('failed to get build type from :version') -- elseif vim.regex([[\v(MinSizeRel|Release|RelWithDebInfo)]]):match_str(buildtype) then -+ elseif vim.regex([[\v(MinSizeRel|Release|RelWithDebInfo|None)]]):match_str(buildtype) then + elseif +- vim.regex([[\v(MinSizeRel|RelWithDebInfo|Release(Fast|Safe|Small)?)]]):match_str(buildtype) ++ vim.regex([[\v(MinSizeRel|RelWithDebInfo|Release(Fast|Safe|Small)?|None)]]):match_str(buildtype) + then health.ok(buildtype) else - health.info(buildtype) diff --git a/srcpkgs/neovim/template b/srcpkgs/neovim/template index b0393806455..cfe4c4e80ed 100644 --- a/srcpkgs/neovim/template +++ b/srcpkgs/neovim/template @@ -1,7 +1,7 @@ # Template file for 'neovim' pkgname=neovim -version=0.12.1 -revision=2 +version=0.12.2 +revision=1 build_style=cmake build_helper="qemu" configure_args="-DCOMPILE_LUA=OFF -DENABLE_TRANSLATIONS=ON -DPREFER_LUA=$(vopt_if luajit OFF ON)" @@ -16,7 +16,7 @@ license="Apache-2.0 AND Vim" homepage="https://neovim.io" changelog="https://github.com/neovim/neovim/releases" distfiles="https://github.com/neovim/neovim/archive/refs/tags/v${version}.tar.gz" -checksum=41898a5073631bc8fd9ac43476b811c05fb3b88ffb043d4fbb9e75e478457336 +checksum=ef9f58da7d687ed4d1dad9715542bf0dabdeedbfe8089e2ce17fff21b920a268 build_options="luajit" build_options_default="luajit"