mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-23 17:10:37 +01:00
b38e8f17d8
It's currently not valid to limit the syntax highlighting cursor in this way, because it prevents us from recognizing important patterns like `(function_item name:(identifier) @function` if the function exceeds the context length, which is common. We'll need to think harder about whether there's a different solution the problem of slow queries in the presence of large parse errors. Reverts zed-industries/zed#52674