Skip to content

How to add a space after completion #661

Closed Answered by Quitlox
Rahmyeon asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can do something like this:

vim.api.nvim_create_autocmd("User", {
    pattern = "BlinkCmpAccept",
    callback = function()
        vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Space>", true, false, true), "i", true)
    end,
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Saghen
Comment options

Answer selected by Saghen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants