[feature suggestions] TreeSitter text object for blocks, delimiter highlighting
Like this plugin please can you implement a treesitter textobject for blocks (by the #%% delimiter) so it'll be possible to jump over next/prev blocks?
Also the block delimiter highlight would be useful too.
I would like to have the block delimiter line fully highlighted, but so far I've got only the text highlight, not the whole line (like cursorline)
Maybe this opens possibility to run multiple blocks once? I think so.
Couldn't you just hover over % and then do *% or #%?
I can, and what?
Couldn't you just copy-paste your code to jupiter notebook and run it? Why are you here? :d
oh... I think I see what you mean. You want to be able to, from wherever your cursor is, so something like nB to jump to the next blocl?
You're maybe looking for NotebookNavigator.nvim. It has textobjects for blocks (though not implemented via treesitter): https://github.com/GCBallesteros/NotebookNavigator.nvim?tab=readme-ov-file#miniai-integration
(EDIT: and also highlighting: https://github.com/GCBallesteros/NotebookNavigator.nvim?tab=readme-ov-file#enabling-minihipatterns-cell-highlighting )