Skip to content

Commit

Permalink
fix(input): disable mini completion (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed May 1, 2022
1 parent f68a91a commit a476efd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/dressing/input.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit a476efd

Please sign in to comment.