fix neovim vscode

This commit is contained in:
2025-10-11 17:10:36 +01:00
parent 339fa4f166
commit 8a109f2427

View File

@@ -11,11 +11,7 @@ function init_lazy_nvim()
}) })
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require("lazy").setup(PLUGINS, { require("lazy").setup(PLUGINS, {})
defaults = {
cond = vim.g.vscode,
},
})
end end
function define_keymaps() function define_keymaps()
@@ -634,13 +630,12 @@ PLUGINS = {
}, },
} }
init_lazy_nvim()
setup_plugins()
config_vim()
if vim.g.vscode then if vim.g.vscode then
define_vscode_keymaps() define_vscode_keymaps()
else else
init_lazy_nvim()
setup_plugins()
config_vim()
define_keymaps() define_keymaps()
end end