fix(input): disable mini completion (#38)

This commit is contained in:
Steven Arcangeli 2022-05-01 13:50:30 -07:00
parent f68a91a281
commit a476efd3f3
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ setmetatable(M, {
if ok then
cmp.setup.buffer({ enabled = false })
end
-- Disable mini.nvim completion if installed
vim.api.nvim_buf_set_var(bufnr, "minicompletion_disable", true)
util.add_title_to_win(
winid,
string.gsub(prompt, "^%s*(.-)%s*$", "%1"),