From f6dcc464f220e702af63d1d58d1e2adf9b05cdf5 Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrett-ruth@users.noreply.github.com> Date: Sat, 6 Apr 2024 22:50:45 -0500 Subject: fix(health): check unmatching python_glob as empty table (#28215) --- runtime/lua/nvim/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua') diff --git a/runtime/lua/nvim/health.lua b/runtime/lua/nvim/health.lua index 20b9145991..35d293bee6 100644 --- a/runtime/lua/nvim/health.lua +++ b/runtime/lua/nvim/health.lua @@ -187,7 +187,7 @@ local function check_rplugin_manifest() local require_update = false local handle_path = function(path) local python_glob = vim.fn.glob(path .. '/rplugin/python*', true, true) - if python_glob == '' then + if vim.tbl_isempty(python_glob) then return end -- cgit