[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 authored and Fabian Ising committed 2026-10-14 08:34:00 +02:00
1 parent 6fc74d4315
commit bb226fff73
1 file changed
+4
+4
View File
@@ -76,6 +76,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