weggli
weggli copied to clipboard
Add flag to warn about parse errors / potentially missed matches
While tree-sitter's error recovery is pretty good for most targets, macro heavy code can lead to parsing errors and missed results. We should add an optional flag to surface statistics about the amount of parse errors.
Checking if any query identifiers occur inside the error-range is probably a good heuristic to warn about potentially missed matches.