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,
|
Answered by
saghen
Feb 5, 2025
Replies: 1 comment 1 reply
|
There's a default |
1 reply
Answer selected by
drone-ah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a default
enabledfunction which disables completion inpromptbuffers (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