nvim-treesitter / nvim-treesitter-refactor

Refactor module for nvim-treesitter
Apache License 2.0
407 stars 25 forks source link

made navigation.goto_{next,previous}_usage honor v:count #40

Closed haolian9 closed 2 years ago

haolian9 commented 2 years ago

this pr enables user navigate to next/previous n usage site, eg. 5[u, 3]u. (assuming [u bound to navigation.goto_next_usage, and the opposite for ]u)

btw, i dont see the fit of this feature in other modules

haolian9 commented 2 years ago

take this pr as a demo, whether this can be merge or not matters not.