diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/autoload/health.vim | 5 | ||||
-rw-r--r-- | runtime/lua/vim/health.lua | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim index 1292e4344e..a693868381 100644 --- a/runtime/autoload/health.vim +++ b/runtime/autoload/health.vim @@ -171,6 +171,11 @@ function! s:get_healthcheck(plugin_names) abort for v in values(healthchecks) let output[v[0]] = v[1:] endfor + try + " vim.health is not a healthcheck, skip it + call remove(output, 'vim') + catch + endtry return output endfunction diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index 67c5c3b37f..b875da0abc 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -41,6 +41,8 @@ M._complete = function() vim.tbl_map(function(f) unique[f] = true end, names) + -- vim.health is this file, which is not a healthcheck + unique['vim'] = nil return vim.tbl_keys(unique) end |