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

Invalid window id error #152

Closed
jaekyeom opened this issue Sep 19, 2022 · 2 comments
Closed

Invalid window id error #152

jaekyeom opened this issue Sep 19, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jaekyeom
Copy link

jaekyeom commented Sep 19, 2022

Describe the bug
I believe this is different from #151 .

EDIT: It seems that the error could be a conflict with one of the other plugins.
But I wonder if there is something like attach_mode = "buffer".

System information

  • OS: linux, mac
  • Neovim version: NVIM v0.7.2
  • AerialInfo:
Aerial Info
-----------
Filetype: python
Configured backends:
  lsp (supported) (attached)
  markdown (not supported) [Filetype is not markdown]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
  • Aerial config:
    aerial.setup({
        backends = {
            ['_'] = { "lsp", "markdown" },
            ['markdown'] = { "markdown", "lsp" },
        },

        layout = {
            default_direction = "prefer_left",
        },

        default_bindings = true,

        filter_kind = {
            ['markdown'] = {'String'},
        },
    })

To Reproduce
Steps to reproduce the behavior:

  1. Open Aerial
  2. :vsplit
  3. :quit the older window

Screenshots

Screen.Recording.2022-09-20.at.12.07.04.AM.mov

Additional context

@jaekyeom jaekyeom added the bug Something isn't working label Sep 19, 2022
@stevearc
Copy link
Owner

I couldn't repro (as you mentioned, it is likely an interaction with another plugin), but I added some nvim_win_is_valid guards that should prevent the error

@jaekyeom
Copy link
Author

jaekyeom commented Oct 9, 2022

Thanks for the patch, I appreciate your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants