hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
566 stars 45 forks source link

The cmp view is not close when enter cmdwin. #94

Open gh-liu opened 1 year ago

gh-liu commented 1 year ago

image

aldevv commented 1 year ago

happens to me too, I was able to fix it by adding this autocmd:

vim.api.nvim_create_autocmd("CmdWinEnter", {
    callback = function()
        require("cmp").close()
    end,
})