|
@@ -130,6 +130,10 @@ M.config = function()
|
|
lvim.builtin.cmp = {
|
|
lvim.builtin.cmp = {
|
|
active = true,
|
|
active = true,
|
|
enabled = function()
|
|
enabled = function()
|
|
|
|
+ local buftype = vim.api.nvim_buf_get_option(0, "buftype")
|
|
|
|
+ if buftype == "prompt" then
|
|
|
|
+ return false
|
|
|
|
+ end
|
|
return lvim.builtin.cmp.active
|
|
return lvim.builtin.cmp.active
|
|
end,
|
|
end,
|
|
confirm_opts = {
|
|
confirm_opts = {
|