Skip to content

Commit

Permalink
feat!: set prefetch on insert to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Jan 23, 2025
1 parent c9b52a7 commit c4eafc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lua/blink/cmp/config/completion/trigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c4eafc1

Please sign in to comment.