nvim-treesitter-textobjects icon indicating copy to clipboard operation
nvim-treesitter-textobjects copied to clipboard

feat: add on_not_selected callback

Open woodgear opened this issue 2 years ago • 2 comments

woodgear avatar Jun 26 '23 16:06 woodgear

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

kiyoon avatar Jun 26 '23 16:06 kiyoon

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

woodgear avatar Jun 26 '23 16:06 woodgear