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: add on_not_selected callback #470

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

Conversation

woodgear
Copy link

No description provided.

@woodgear woodgear changed the title add on_not_selected callback feat: add on_not_selected callback Jun 26, 2023
@kiyoon
Copy link
Collaborator

kiyoon commented Jun 26, 2023

Thank you. What do you think is the use case for this one?

@woodgear
Copy link
Author

to distinguish between an internal error of Neovim/Treesitter and a mismatch between the current buffer and the query string .
for example

  require("xxx").setup {
    | (where the cursor)
  }

i thought the setup is "function.inner",but in fact is not.
it take me sometimes to figure out, the treesitter-textobject works prepectly. it just has not to match the query string

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

2 participants