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

adds assignment support for cpp

Open amar-laksh opened this issue 2 years ago • 1 comments

amar-laksh avatar Mar 02 '23 21:03 amar-laksh

The LHS (left hand side) is selecting int and RHS a = 12222. image

But it should be LHS selecting a and RHS 12222

Same for inner and outer. Inner should select either LHS or RHS.

I'm not sure whether outer should select the whole statement or just a = 12222 because I think other text object can select a statement already.

kiyoon avatar Mar 02 '23 21:03 kiyoon