Ignoring code chunk backticks and sending multi-paragraph sections #462
arnold-c
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is just a small extension to #380 to adapt it to work with different code chucks, as well as work when there aren't empty lines either side of the code chunk.
I had tried to play around with different selections that would allow for multi-paragraph selection e.g., in the middle of a function where there might be breaks for clarity (like the function above), but I couldn't figure out a way to get Treesitter to work consistently in R:
vaiselects functions, with their label, well, but doesn't work well with pipes as it always selects the next node in addition to the pipe. For the time being I'll just callvaito manually select and send functions. If anyone has some other suggestions they're more than welcome!Beta Was this translation helpful? Give feedback.
All reactions