diff options
author | Barrett Ruth <62671086+barrett-ruth@users.noreply.github.com> | 2024-04-06 22:50:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 11:50:45 +0800 |
commit | f6dcc464f220e702af63d1d58d1e2adf9b05cdf5 (patch) | |
tree | 9bdcfe4a36b502e7b6ecd85b6f04488b3bf8e1f6 | |
parent | 98d687a4e18161663480aa1d5ee9aff5fdf5fb57 (diff) | |
download | rneovim-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.lua | 2 |
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 |