s1n7ax/nvim-window-picker

`include_current_win = false` not working

Rizhiy opened this issue · 0 comments

Rizhiy commented

Using it together with neo-tree.
Installed using lazy:

return {
    's1n7ax/nvim-window-picker',
    name = 'window-picker',
    event = 'VeryLazy',
    version = '2.*',
    opts = {
        hint = "floating-big-letter",
        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" },
            }
        },
    }
}

When two splits are open, I get three options:
image

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1692716794