Skip to content
New issue

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

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

Already on GitHub? # to your account

neovim: \q doesn't open quickfix window #11

Open
strager opened this issue Jun 20, 2022 · 2 comments
Open

neovim: \q doesn't open quickfix window #11

strager opened this issue Jun 20, 2022 · 2 comments
Assignees

Comments

@strager
Copy link
Owner

strager commented Jun 20, 2022

No description provided.

@strager strager self-assigned this Jul 1, 2022
@strager
Copy link
Owner Author

strager commented Jul 1, 2022

When the bug happens, getbufinfo claims that the quickfix buffer is hidden:

[{'lnum': 1, 'bufnr': 38, 'variables': {'did_ftplugin': 1, 'undo_ftplugin': 'set stl<', 'changedtick': 11
1, 'current_syntax': 'qf', 'editorconfig_tried': 1, 'ale_file_changed': 0, 'ale_quitting': 0, 'ale_origin
al_filetype': 'qf'}, 'name': '', 'changed': 0, 'lastused': 1656640374, 'loaded': 1, 'windows': [1088], 'h
idden': 1, 'listed': 1, 'changedtick': 111, 'linecount': 3}]

This confuses our strager#quickfix#is_quickfix_window_open function.

@strager
Copy link
Owner Author

strager commented Jul 1, 2022

^ the above comment was failing to close, not failing to open.

For failing to open, I think there's another bug (my fault):

  1. open a tab
  2. :copen
  3. open another tab
  4. \q

Because the quickfix list is open in another tab, \q doesn't open it in the current tab.

@strager strager mentioned this issue Jul 7, 2022
12 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant