Open cdarken opened 5 months ago
I think you should update the PHP parser.
You can do this with :TSInstall php
.
I already did this, countless times. Even if I remove the ~/.local/share/lazy
dir and reinstall everything, the error still occurs.
The string_content
node was introduced in the php tree-sitter parser 1 month ago with this PR : https://github.com/tree-sitter/tree-sitter-php/pull/237
Maybe you can share your config ?
I will try to reproduce it using a fresh clone of kickstart.nvim.
Ok, I think I found something. The error occurs if I set the highlight = { ... }
entry in the table given as argument to require'nvim-treesitter.configs'.setup()
function.
Edit: but I think it's in combination with something else, because in the kickstart.nvim config it's fine.
Do you still have this issue ?
This is the output in
:checkhealth
:I'm not sure how to fix this.