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: Auto open appears not to work after v3 upgrade #489

Closed
3 tasks done
cdown opened this issue Jun 8, 2024 · 0 comments · Fixed by #490
Closed
3 tasks done

bug: Auto open appears not to work after v3 upgrade #489

cdown opened this issue Jun 8, 2024 · 0 comments · Fixed by #490
Labels
bug Something isn't working

Comments

@cdown
Copy link

cdown commented Jun 8, 2024

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have searched the existing issues of trouble.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.0

Operating system/version

Arch Linux

Describe the bug

Hi there, after upgrading to trouble v3, auto_open appears not to function any more. I know some config settings were changed, so I looked around, but it still seems like these are the supported way from the README and thus I suppose it's not expected that auto_open no longer opens the buffer. There are diagnostics present.

If I do :Trouble and select 1, the buffer opens normally.

If I downgrade to my previous version (2.2.0), auto_open works again.

Let me know what I can do to help debug, if this does not repro. Here is my config (the same for both 2.2.0 and 3.3.0):

require('trouble').setup({
  auto_open = true,
  auto_close = true,
  fold_open = "v",
  fold_closed = ">",
  indent_lines = false,
  icons = {
    indent = {
      top           = "| ",
      middle        = "+-",
      last          = "`-",
      fold_open     = "> ",
      fold_closed   = "v ",
      ws            = "  ",
    },
    folder_closed   = "[ ] ",
    folder_open     = "[>] ",
  },
})

Thanks for the great plugin!

Steps To Reproduce

  1. Have auto_open = true in config

Expected Behavior

The trouble buffer should auto open.

Repro

No response

@cdown cdown added the bug Something isn't working label Jun 8, 2024
@folke folke closed this as completed in 0793267 Jun 8, 2024
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

Successfully merging a pull request may close this issue.

1 participant