From cde4892b49556d21a16839d9553bcd829c525154 Mon Sep 17 00:00:00 2001 From: Gregory Anders <8965202+gpanders@users.noreply.github.com> Date: Mon, 10 Apr 2023 14:37:25 -0600 Subject: [PATCH] fix(health): fix typo in function name --- runtime/lua/provider/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/provider/health.lua b/runtime/lua/provider/health.lua index 3f9a84a57c..1806fb92ac 100644 --- a/runtime/lua/provider/health.lua +++ b/runtime/lua/provider/health.lua @@ -596,7 +596,7 @@ local function virtualenv() local venv_bins = vim.fn.glob(os.getenv('VIRTUAL_ENV') .. bin_dir .. '/python*', true, true) -- XXX: Remove irrelevant executables found in bin/. venv_bins = vim.fn.filter(venv_bins, 'v:val !~# "python-config"') - if vim.tbl_coun(venv_bins) > 0 then + if vim.tbl_count(venv_bins) > 0 then for _, venv_bin in pairs(venv_bins) do venv_bin = vim.fs.normalize(venv_bin) local py_bin_basename = vim.fs.basename(venv_bin)