[packages/neovim] don't warn about "non-optimized debug build" in :checkhealth
atler
atler at pld-linux.org
Sun Jul 2 14:19:01 CEST 2023
commit 24ef235b30751708f88bb8bb826a635ff6da028f
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jul 2 13:26:58 2023 +0200
don't warn about "non-optimized debug build" in :checkhealth
build-type.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/build-type.patch b/build-type.patch
index cc9e554..b29dc0d 100644
--- a/build-type.patch
+++ b/build-type.patch
@@ -10,3 +10,14 @@ diff --color -ur neovim-0.8.0.orig/cmake/Util.cmake neovim-0.8.0/cmake/Util.cmak
get_property(isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(isMultiConfig)
+--- neovim-0.9.1/runtime/lua/nvim/health.lua.orig 2023-05-29 13:24:38.000000000 +0200
++++ neovim-0.9.1/runtime/lua/nvim/health.lua 2023-07-02 13:20:36.760937259 +0200
+@@ -152,7 +152,7 @@
+ local buildtype = vim.fn.matchstr(vim.fn.execute('version'), [[\v\cbuild type:?\s*[^\n\r\t ]+]])
+ if empty(buildtype) then
+ health.report_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|PLD)]]):match_str(buildtype) then
+ health.report_ok(buildtype)
+ else
+ health.report_info(buildtype)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/24ef235b30751708f88bb8bb826a635ff6da028f
More information about the pld-cvs-commit
mailing list