nvim-treehopper
nvim-treehopper copied to clipboard
Region selection with hints on the AST nodes of a document powered by treesitter
Specifically thinking about [Leap](https://github.com/ggandor/leap.nvim), besides Hop. It would be win-win for everyone: - This plugin could focus on one thing - there would be no need to reinvent the wheel,...
First, thanks for your work on this plugin, I use it habitually at this point. There's one thing I'm missing though, but I have no idea if it's possible. With...
Basically, this PR allows one to do: ```lua require("tsht").config.ft_to_parser.typescriptreact = "tsx" ``` where, `typescriptreact` and `tsx` can be substituted for the appropriate filetype, and treesitter parser, respectively (like one can...
Use nvim-treesitter API to resolve the parser language when it is different than the buffer's `filetype`. This happens for `tsx` files whose `filetype` is `typescriptreact` but the Treesitter parser language...
When trying to use `nvim-treehopper` in a `tsx` file, I get the following error: ```sh E5108: Error executing lua ...local/share/nvim/runtime/lua/vim/treesitter/language.lua:25: no parser for 'typescriptreact' language, see :help treesitter-parsers stack traceback:...
When I use hrargs.nvim it highlights where I used the argument, but it remains highlighted when I run treehopper's nodes. https://github.com/m-demare/hlargs.nvim  I have disabled...
``` xnoremap m :lua require('tsht').nodes() ``` works as expected but ``` xnoremap m lua require('tsht').nodes() ``` does not expand the visual selection
`require'tsht'.nodes()` can take `{side = "start"|"end"}`, similar to `require'tsht'.move()` This reduces the hint labels to only that side, and when a hint is selected instead of selecting the whole region,...
I just stumbled upon this plugin and I must say, I find it's concept very intriguing. Having played around with it for a bit, I noticed that this plugin restricts...