Something went wrong. Try again.
A fork of helix with a bespoke collection patches.
Something went wrong. Try again.
fix: handle Scala for-comprehension indentation in ERROR nodes (#15512) master
When typing an incomplete for-comprehension like `for {`, tree-sitter creates an ERROR node instead of a for_expression. Add an `(ERROR "for") @indent` pattern so indentation works during editing. Signed-off-by: majiayu000 <1835304752@qq.com>
Author lif Committer GitHub Date (Mar 26, 2026, 3:10 PM UTC) Commit 7b117bea 7b117bea8eaf8ffae884f9348ff6d19ac31e9aeb Parent 80e4f0fb 80e4f0fb547b9cfd3adbb77ceb4bcc158b78cc33