From fa492591fecdc41798cd5d3d1713232a5088fba0 Mon Sep 17 00:00:00 2001 From: kyoh86 Date: Mon, 19 Jun 2023 11:32:54 +0900 Subject: [PATCH] fix type of the config.autocomplete to accept false (#1624) --- lua/cmp/types/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/types/cmp.lua b/lua/cmp/types/cmp.lua index 425be90..0c347f4 100644 --- a/lua/cmp/types/cmp.lua +++ b/lua/cmp/types/cmp.lua @@ -111,7 +111,7 @@ cmp.ItemField = { ---@field documentation cmp.WindowConfig|nil ---@class cmp.CompletionConfig ----@field public autocomplete cmp.TriggerEvent[] +---@field public autocomplete cmp.TriggerEvent[]|false ---@field public completeopt string ---@field public get_trigger_characters fun(trigger_characters: string[]): string[] ---@field public keyword_length integer