1
0
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:
jdhao
2023-09-01 20:50:53 +02:00
parent 41c8c81f21
commit 63ff776758
2 changed files with 6 additions and 6 deletions

View File

@@ -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,