Replies: 2 comments 4 replies
-
|
You can figure out what distinguishes a snacks picker buffer or window (e.g. it may have filetype 'snacks_picker', I dont't use it so I don't really know if it's true), then add it to the require('dropbar').setup({
bar = {
enable = function(buf, win)
if is_snacks_picker(buf, win) then
return false
end
-- some other logic ...
end
}
}) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I'm encountering an error when trying to enable dropbar.nvim with the enabled function. Here’s the configuration snippet: return {
{
'Bekaboo/dropbar.nvim',
opts = {
bar = {
enable = function(buf, win, _)
return true
end,
},
},
},
}When I open the Snacks picker, I get the following error: Did anyone manage to solve this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, as I mentioned in the title, when I run
Snacks.picker.buffers()orSnacks.picker.lines(), it also launches an additional dropbar. Is there a way to stop the dropbar from launching when I open the picker?Beta Was this translation helpful? Give feedback.
All reactions