nvim_runtime_lua

vim.treesitter.select.node

The reason for a wrapper around TSNode is because we need to store the information about which tstree-range they are in (as a tstree may be disjointed), where region is the return value of TSTree:included_ranges(false) with next to eachother ranges combined (e.g. {{0,0,1,1},{1,1,2,2}} -> {{0,0,2,2}}).

Fields2

node.node : TSNode