Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: remove
lexer->log
calls for better compatibility (#162)
Hopefully this PR fixes recent reported crashes on discord: ``` woosaaahh — Today at 4:57 AM Finaaaaaally !!! After debugging nvim-treesitter, neovim lua code for tree-sitter then hours of manual bisect + compiling neovim, I think a found an explanation for my neovim crashes ! This commit is the first one that prevent my Neovim from crashing : neovim/neovim@664de5e It bumps treesitter dependency from v0.22.6 to v0.23.0. According this https://github.com/neovim/neovim/blob/release-0.10/cmake.deps/deps.txt#L56 , the latest stable release (v0.10.2) still uses treesitter v0.22.6. My understanding is that all languages grammars/parsers/scanners that use treesitter v0.23.0 and more are not compatible with nvim v0.10.2 and below. So with that in mind, I have 2 solutions : 1°) using nvim nightly and use the latest tree-sitter-nu or 2°) keep using nvim v0.10.2 but using older version of tree-sitter-nu with custom nvim-treesitter config that point to a local copy of tree-sitter-nu (solution that I didn't tried yet) 082a7c7 EDIT: For solution 2°), I didn't find yet any compatible versions between neovim v0.10.2, nvim-treesitter and tree-sitter-nu, so I'll use solution 1°) and neovim nightly until my brain figure it out ``` <img width="501" alt="image" src="https://github.com/user-attachments/assets/ea0e9668-1e8a-44ac-84af-e5d2f5265dde">
- Loading branch information