fix(input): disable mini completion (#38)
This commit is contained in:
parent
f68a91a281
commit
a476efd3f3
|
@ -302,6 +302,8 @@ setmetatable(M, {
|
||||||
if ok then
|
if ok then
|
||||||
cmp.setup.buffer({ enabled = false })
|
cmp.setup.buffer({ enabled = false })
|
||||||
end
|
end
|
||||||
|
-- Disable mini.nvim completion if installed
|
||||||
|
vim.api.nvim_buf_set_var(bufnr, "minicompletion_disable", true)
|
||||||
util.add_title_to_win(
|
util.add_title_to_win(
|
||||||
winid,
|
winid,
|
||||||
string.gsub(prompt, "^%s*(.-)%s*$", "%1"),
|
string.gsub(prompt, "^%s*(.-)%s*$", "%1"),
|
||||||
|
|
Loading…
Reference in New Issue