Tree-sitter based linting

Hello,
It would be nice if tree-sitter allowed to spot syntax errors. It would be much lighter than LSP, and probably more accurate for dynamic languages (whose LSP diagnosis are full of missing references).

I know such a tool exists for Atom. Does anyone knows about something like this for Neovim?

1 Like

You can give TSError a highlight. Then, it will highlight errors in the colors, underlining that you would like to have. You can also write a query that lists errors it’s only (ERROR) @error