mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
feat(vscode): add vscode=true
to any plugin spec you want to activate in vscode
This commit is contained in:
parent
e975f021ea
commit
39fa63646d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,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.tbl_contains(enabled, plugin.name) then
|
||||
if not (vim.tbl_contains(enabled, plugin.name) or plugin.vscode) then
|
||||
Config.plugins[name] = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue