-
Make sure you have done the following
Bug DescriptionHi, I use nvim-org-roam, which uses the enabled config param to disable completion on one of it's windows. I adapted it from their example for However, when I use this. while the nvim-org-roam window doesn't show completions telescope now does :( I tried removing the above config and the telescope no longer has completions, which is correct. Relevant configuration enabled = function()
local bufname = vim.api.nvim_buf_get_name(0)
if bufname:match("org%-roam%-select$") ~= nil then
return false
end
return true
end,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's a default |
Beta Was this translation helpful? Give feedback.
There's a default
enabled
function which disables completion inprompt
buffers (telescope is one of them). You'll want to copy the logic from the default function into your custom function: https://cmp.saghen.dev/configuration/reference.html