diff --git a/nvim/init.vim b/nvim/init.vim index ee0e32f..076f50f 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -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