enhance(nvim): Lazy load completion when typing commands

This commit is contained in:
Ahmad Ansori Palembani 2024-04-18 12:28:03 +07:00
parent 05ab2b0a51
commit 046ea79ea2
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -26,7 +26,7 @@ return {
}, },
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
event = "InsertEnter", event = { "InsertEnter", "CmdlineEnter" },
dependencies = { dependencies = {
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer", "hrsh7th/cmp-buffer",