Skip to content

Commit 3dcf98d

Browse files
committed
fix: accept grabbing wrong config
1 parent cab7576 commit 3dcf98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blink/cmp/completion/accept/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ local function accept(ctx, item, callback)
3131
-- Create an undo point, if it's not a snippet, since the snippet engine should handle undo
3232
if
3333
item.insertTextFormat ~= vim.lsp.protocol.InsertTextFormat.Snippet
34-
and require('blink.cmp.config').accept.create_undo_point
34+
and require('blink.cmp.config').completion.accept.create_undo_point
3535
then
3636
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes('<C-g>u', true, true, true), 'n', true)
3737
end

0 commit comments

Comments
 (0)