Closed kdog3682 closed 2 months ago
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.
via Lua https://pynvim.readthedocs.io/en/latest/usage/python-plugin-api.html#lua-integration
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.