Closed snelling-a closed 1 year ago
I've been getting this error on startup.
https://github.com/lukas-reineke/headlines.nvim/blob/6496b6229ce708253a906daed07067c1d32a427b/lua/headlines/init.lua#L6-L12
seems to be the issue.
I think the fix would be
local ok, parsed_query = pcall(vim.treesitter.query.parse, language, query)
I've been getting this error on startup.
https://github.com/lukas-reineke/headlines.nvim/blob/6496b6229ce708253a906daed07067c1d32a427b/lua/headlines/init.lua#L6-L12
seems to be the issue.
I think the fix would be