mirror of
https://github.com/helix-editor/helix
synced 2026-11-24 03:14:25 +01:00
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>