From 3dcc074693c3560982d6e500aa073140a9c5c0ed Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 23 May 2023 08:44:46 +0200 Subject: [PATCH] fix(vscode): support older Neovim versions. Fixes #798 --- lua/lazyvim/plugins/extras/vscode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/vscode.lua b/lua/lazyvim/plugins/extras/vscode.lua index 069b3528..fa63590e 100644 --- a/lua/lazyvim/plugins/extras/vscode.lua +++ b/lua/lazyvim/plugins/extras/vscode.lua @@ -25,7 +25,7 @@ local update_state = Plugin.update_state Plugin.update_state = function() -- Config.spec.disabled = {} for name, plugin in pairs(Config.plugins) do - if not vim.list_contains(enabled, plugin.name) then + if not vim.tbl_contains(enabled, plugin.name) then Config.plugins[name] = nil end end