diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lvim/core/cmp.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/lvim/core/cmp.lua b/lua/lvim/core/cmp.lua index 9306c557..58d427cb 100644 --- a/lua/lvim/core/cmp.lua +++ b/lua/lvim/core/cmp.lua @@ -130,6 +130,10 @@ M.config = function() lvim.builtin.cmp = { active = true, enabled = function() + local buftype = vim.api.nvim_buf_get_option(0, "buftype") + if buftype == "prompt" then + return false + end return lvim.builtin.cmp.active end, confirm_opts = { |