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

Allow passing count/depth to go_to_context()

Open Bekaboo opened this issue 1 year ago • 0 comments

Hi, thanks for all your work in this awesome plugin!

I am using mode='topline' and would like to jump to the previous [count] context with [count][C, for example:

if ...
    for ... (contexts)
---------------------------
        some code here...|

I would like to jump to the if statement with 2[C, but the current implementation of go_to_context() does not accept a count, could we make it possible? Thanks!

Bekaboo avatar May 15 '23 17:05 Bekaboo