Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include_current_win = false not working #80

Open
Rizhiy opened this issue Dec 20, 2023 · 0 comments
Open

include_current_win = false not working #80

Rizhiy opened this issue Dec 20, 2023 · 0 comments

Comments

@Rizhiy
Copy link

Rizhiy commented Dec 20, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant