fix neovim vscode
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user