diff --git a/docs/configuration/reference.md b/docs/configuration/reference.md index cb09f759..4d0656bb 100644 --- a/docs/configuration/reference.md +++ b/docs/configuration/reference.md @@ -41,7 +41,7 @@ completion.keyword = { ```lua completion.trigger = { -- When true, will prefetch the completion items when entering insert mode - prefetch_on_insert = false, + prefetch_on_insert = true, -- When false, will not show the completion window automatically when in a snippet show_in_snippet = true, diff --git a/lua/blink/cmp/config/completion/trigger.lua b/lua/blink/cmp/config/completion/trigger.lua index 94d0af88..27739e99 100644 --- a/lua/blink/cmp/config/completion/trigger.lua +++ b/lua/blink/cmp/config/completion/trigger.lua @@ -12,7 +12,7 @@ local validate = require('blink.cmp.config.utils').validate local trigger = { --- @type blink.cmp.CompletionTriggerConfig default = { - prefetch_on_insert = false, + prefetch_on_insert = true, show_in_snippet = true, show_on_keyword = true, show_on_trigger_character = true,