Skip to content

How to disable auto trigger for some filetype? #626

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

You must be logged in to vote

Sleeping on it, then digging in blink’s code give me the solution:

vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
    pattern = { "*.md" },
    callback = function()
        require("blink.cmp.completion.windows.menu").auto_show = false
    end,
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Geobert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant