32 lines
895 B
Lua
32 lines
895 B
Lua
return {
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
branch = "v3.x",
|
|
dependencies = {
|
|
{
|
|
"s1n7ax/nvim-window-picker", -- for open_with_window_picker keymaps
|
|
version = "2.*",
|
|
config = function()
|
|
require("window-picker").setup({
|
|
filter_rules = {
|
|
include_current_win = false,
|
|
autoselect_one = true,
|
|
-- filter using buffer options
|
|
bo = {
|
|
-- if the file type is one of following, the window will be ignored
|
|
filetype = { "neo-tree", "neo-tree-popup", "notify" },
|
|
-- if the buffer type is one of following, the window will be ignored
|
|
buftype = { "terminal", "quickfix" },
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
},
|
|
opts = {
|
|
window = {
|
|
position = "right",
|
|
},
|
|
},
|
|
},
|
|
}
|