summaryrefslogtreecommitdiff
path: root/app-editors/neovim/files/neovim-9999-cmake-release-type.patch
blob: 1d7fb56b51c888ef79f468aa25959892e91c9231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Ensure that :checkhealth is happy with the Gentoo build type.
https://bugs.gentoo.org/757744
--- a/runtime/autoload/health/nvim.vim
+++ b/runtime/autoload/health/nvim.vim
@@ -135,7 +135,7 @@ function! s:check_performance() abort
   let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
   if empty(buildtype)
     call health#report_error('failed to get build type from :version')
-  elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)'
+  elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)'
     call health#report_ok(buildtype)
   else
     call health#report_info(buildtype)