mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
feat(vscode): automatically enable the vscode extra when running in vscode
This commit is contained in:
parent
b8407f4b12
commit
1c5a330b6b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue