Skip to content

Commit

Permalink
fix(vscode): support older Neovim versions. Fixes #798
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 23, 2023
1 parent 58c3842 commit 3dcc074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/extras/vscode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dcc074

Please sign in to comment.