mirror of
https://github.com/helix-editor/helix
synced 2026-05-03 17:20:38 +02:00
a1cb573f1d
When auto-pairs is disabled, typing an opening delimiter without a
matching closing one causes tree-sitter to produce an ERROR node.
Add patterns to match ERROR nodes containing '{', '(', and '[' so
that indentation works correctly in these cases.
Fixes #7910
Signed-off-by: majiayu000 <1835304752@qq.com>