commit f6dcc464f220e702af63d1d58d1e2adf9b05cdf5
parent 98d687a4e18161663480aa1d5ee9aff5fdf5fb57
Author: Barrett Ruth <62671086+barrett-ruth@users.noreply.github.com>
Date: Sat, 6 Apr 2024 22:50:45 -0500
fix(health): check unmatching python_glob as empty table (#28215)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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