feat(vscode): automatically enable the vscode extra when running in vscode
This commit is contained in:
@ -27,6 +27,9 @@ LazyVim.plugin.save_core()
|
|||||||
if vim.tbl_contains(compat, v) then
|
if vim.tbl_contains(compat, v) then
|
||||||
table.insert(extras, 1, "lazyvim.plugins.compat.nvim-" .. v)
|
table.insert(extras, 1, "lazyvim.plugins.compat.nvim-" .. v)
|
||||||
end
|
end
|
||||||
|
if vim.g.vscode then
|
||||||
|
table.insert(extras, 1, "lazyvim.plugins.extras.vscode")
|
||||||
|
end
|
||||||
|
|
||||||
table.sort(extras, function(a, b)
|
table.sort(extras, function(a, b)
|
||||||
local pa = prios[a] or 50
|
local pa = prios[a] or 50
|
||||||
|
Reference in New Issue
Block a user