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

fix: buffer not in list when go to references #2724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nfwyst
Copy link

@nfwyst nfwyst commented Oct 2, 2023

Description

there is file opened but is nobuflisted when go to references with no jump_type, so create a buffer before setting win buf is good

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list relevant details about your configuration

  • Test go to references with jump_type nil, open file in buffer, then call command :buffers should see it

Configuration:

  • Neovim version (nvim --version): 0.9.2
  • Operating system and version: darwin arm64, 13.6 (22G120)

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code

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

Successfully merging this pull request may close these issues.

None yet

1 participant