[NVIM] Skip plugin update check on nvim < 0.10

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fabian IsingandClaude Opus 5.5 committed 2026-10-14 08:33:05 +02:00
1 parent b4815d1130
commit 1752b31336
1 file changed
+4
+4
View File
@@ -118,6 +118,10 @@ call plug#end()
" Check for plugin updates after the editor is responsive.
lua << EOF
local function check_plugin_updates()
if vim.system == nil then
return -- needs nvim >= 0.10
end
local plugins = {}
for name, plugin in pairs(vim.g.plugs or {}) do
if vim.fn.isdirectory(plugin.dir) == 1 then