Can anyone help me with the Snacks.picker explorer integration? #128
Unanswered
raducodescu
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
@raducodescu left = {
{
title = "Explorer",
ft = "snacks_layout_box",
-- exclude floating windows
filter = function(buf, win)
return vim.api.nvim_win_get_config(win).relative == ""
end,
pinned = true
}
} |
Beta Was this translation helpful? Give feedback.
2 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.
-
I see in the example and on other discussions that everyone is using neo-tree. I was wondering if it can be used with the
Snacks.picker.exploreras a file-tree.Tried different things but i'm not sure about what
cmdis needed for this to work.From what I see in the code the
ftcan be either a command or a function.I tried both of them:
ft = "lua require('snacks').picker.explorer()",ft = "lua SnacksExplorer"and declaring a new cmd:Tried with a function as well:
Nothing seems to work...Is there something i'm missin?
Beta Was this translation helpful? Give feedback.
All reactions