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

feat: multiwindow support; context #497

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

Conversation

apollo1321
Copy link
Contributor

@apollo1321 apollo1321 commented Oct 3, 2024

  1. Fix the bug "Index out of bounds" Index out of bounds #496 .
  2. Support obtaining context & ranges from specified bufnr.

@apollo1321 apollo1321 mentioned this pull request Oct 3, 2024
--- @return Range4?
local context_range = cache.memoize(function(node, query)
local bufnr = api.nvim_get_current_buf()
local context_range = cache.memoize(function(node, query, bufnr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think hash_node() should also be updated so it takes into account the buffer number.

@lewis6991 lewis6991 linked an issue Oct 3, 2024 that may be closed by this pull request
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.

Index out of bounds
2 participants