mfussenegger / nvim-treehopper

Region selection with hints on the AST nodes of a document powered by treesitter
GNU General Public License v3.0
426 stars 17 forks source link

Feature request: Goto textobject with hints #7

Closed IndianBoy42 closed 2 years ago

IndianBoy42 commented 3 years ago

Im imagining essentially a mix of easymotion/hop but using treesitter to identify places to jump to.

I don't know if this is necessarily the right place for this functionality, but i think it already has the infrastructure for displaying hints, and identifying relevant text objects from treesitter.

How hard do you think adding this would be? I could give it a go trying to implement it

mfussenegger commented 3 years ago

Sounds a bit related to https://github.com/phaazon/hop.nvim/issues/116 & https://github.com/phaazon/hop.nvim/pull/123

I kinda want to wait to see where that goes - it might be possible to turn this plugin here into just another "source" of targets for hop.nvim.

danielo515 commented 2 years ago

isn't this the same as #10?

mfussenegger commented 2 years ago

isn't this the same as #10?

Yes, sounds like a duplicate of https://github.com/mfussenegger/nvim-treehopper/issues/10