feat(vscode): automatically enable the vscode extra when running in vscode

This commit is contained in:
Folke Lemaitre
2024-11-16 06:47:51 +01:00
parent b8407f4b12
commit 1c5a330b6b

View File

@ -27,6 +27,9 @@ LazyVim.plugin.save_core()
if vim.tbl_contains(compat, v) then
table.insert(extras, 1, "lazyvim.plugins.compat.nvim-" .. v)
end
if vim.g.vscode then
table.insert(extras, 1, "lazyvim.plugins.extras.vscode")
end
table.sort(extras, function(a, b)
local pa = prios[a] or 50