Closed Terseus closed 3 months ago
The README examples are using the non-existent function vim.treesitter.parse_query.
vim.treesitter.parse_query
It should be changed to [vim.treesitter.query.parse](https://neovim.io/doc/user/treesitter.html#vim.treesitter.query.parse()).
https://github.com/lukas-reineke/headlines.nvim/pull/76 fixes it.
Indeed, thanks for the work @GaetanLepage, and thanks @Aman9das for pointing it out.
The README examples are using the non-existent function
vim.treesitter.parse_query
.It should be changed to [vim.treesitter.query.parse](https://neovim.io/doc/user/treesitter.html#vim.treesitter.query.parse()).