Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(latex-renderer): fixed renderer failing silently
Commit [8ec38e0](8ec38e0) changed the implementation of the treesitter module's `execute_query` function. The function asks for a non-nil source, but the latex renderer wasn't providing one (which should have caused a type error, but didn't because the way the `module.required` table works prevents lua_ls from getting the function's signature). The previous implementation happened to use a function internally that used the buffer 0 when `source` was omitted to get the parser, which is what allowed the latex renderer to work previously, but the new implementation didn't do that
- Loading branch information