aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrett-ruth@users.noreply.github.com>2024-04-06 22:50:45 -0500
committerGitHub <noreply@github.com>2024-04-07 11:50:45 +0800
commitf6dcc464f220e702af63d1d58d1e2adf9b05cdf5 (patch)
tree9bdcfe4a36b502e7b6ecd85b6f04488b3bf8e1f6
parent98d687a4e18161663480aa1d5ee9aff5fdf5fb57 (diff)
downloadrneovim-f6dcc464f220e702af63d1d58d1e2adf9b05cdf5.tar.gz
rneovim-f6dcc464f220e702af63d1d58d1e2adf9b05cdf5.tar.bz2
rneovim-f6dcc464f220e702af63d1d58d1e2adf9b05cdf5.zip
fix(health): check unmatching python_glob as empty table (#28215)
-rw-r--r--runtime/lua/nvim/health.lua2
1 files changed, 1 insertions, 1 deletions
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