neovim/pynvim

How do you access the treesitter API via pynvim?

kdog3682 opened this issue · 1 comments

When I inspect nvim.api.treesitter , I get a "class functions.partial".

However, when I tried to do nvim.api.treesitter.get_node(). I get the message that get_node is not defined.

Really ppreciate any advice on how to use pynvim API for this.