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

[Bug]: Dropbar not working with neo-tree #72

Closed
franroa opened this issue Aug 18, 2023 · 6 comments
Closed

[Bug]: Dropbar not working with neo-tree #72

franroa opened this issue Aug 18, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@franroa
Copy link

franroa commented Aug 18, 2023

Description

When I open the file explorer in neo-tree, I am getting these errors:

Error detected while processing WinResized Autocommands for "*":

Error executing lua callback: ...isco/.local/share/nvim/lazy/dropbar.nvim/lua/dropbar.lua:101: Invalid window id: 1026 stack traceback: [C]: in function 'nvim_win_get_buf' ...isco/.local/share/nvim/lazy/dropbar.nvim/lua/dropbar.lua:101: in function <...isco/.local/share/nvim/lazy/dropbar.nvim/lua/dropbar.lua:91>

nvim version

0.10-dev (nightly)

dropbar.nvim version

latest

Operating system and version

Manjaro(arch) 6.1.44-1

Minimal config

LazyVim with dropbar default config

Steps to reproduce

  1. Open a file
  2. With the file open, open the neo-tree explorer

Expected behavior

No errors are thrown

Actual behavior

An error is thrown, although dropbar still works properly

Additional information

No response

@franroa franroa added the bug Something isn't working label Aug 18, 2023
@Bekaboo
Copy link
Owner

Bekaboo commented Aug 18, 2023

@franroa Please provide a minimal config based on the template provided. I don't debug your whole config.

@franroa
Copy link
Author

franroa commented Aug 18, 2023

I could write the commands to install LazyVim, and add to it dropbar. Would it be fine?

@Bekaboo
Copy link
Owner

Bekaboo commented Aug 18, 2023

@franroa No... LazyVim is a pretty massive config, keep the config file as simple as possible. Only install plugins that is necessary to reproduce the error. Do not use a plugin manager.

@franroa
Copy link
Author

franroa commented Aug 18, 2023

I have just figured out which causes the problem. There is an incompatibility between dropbar and edgy. I have no idea how to write a minimal config though. I will create an issue on LazyVim and link this one, I think from LazyVim side is much easier to solve this, I guess, since in order to have the edgy default config I also need other plugins to be running

@franroa
Copy link
Author

franroa commented Aug 18, 2023

This is the issue on edgy: folke/edgy.nvim#44

@Bekaboo
Copy link
Owner

Bekaboo commented Aug 18, 2023

@franroa Glad to hear that you've located the problem! It is possible that some hacks in edgy causes the issue.

@Bekaboo Bekaboo closed this as completed Sep 8, 2023
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