mirror of
https://github.com/neovim/neovim.git
synced 2026-01-18 19:07:02 +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)