mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00

**Problem:** An erroneous query in the treesitter highlighter gives a
deluge of errors that makes the editor almost unusable.
**Solution:** Detach the highlighter after an error is detected, so that
it only gets displayed once (per highlighter instance).
(cherry picked from commit b0bbe25c48
)