lukas-reineke / headlines.nvim

This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
MIT License
688 stars 28 forks source link

Bug: README uses the non-existent function vim.treesitter.parse_query #86

Closed Terseus closed 3 months ago

Terseus commented 3 months ago

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()).

Aman9das commented 3 months ago

https://github.com/lukas-reineke/headlines.nvim/pull/76 fixes it.

Terseus commented 3 months ago

Indeed, thanks for the work @GaetanLepage, and thanks @Aman9das for pointing it out.