mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
fix loading order of nvim-cmp and nvim-lsp
This commit is contained in:
@@ -23,7 +23,7 @@ require("lazy").setup {
|
||||
-- auto-completion engine
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = 'VeryLazy',
|
||||
event = 'InsertEnter',
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"onsails/lspkind-nvim",
|
||||
@@ -40,7 +40,7 @@ require("lazy").setup {
|
||||
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
event = 'VeryLazy',
|
||||
event = { 'BufRead', 'BufNewFile' },
|
||||
config = function()
|
||||
require("config.lsp")
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user