summaryrefslogtreecommitdiff
path: root/src/indent.zig
Commit message (Collapse)AuthorAge
* edit: Enter, o and O give the new line helix's indent where the file's ↵Gabriel Schneider13 days
grammar has an indent query, its indent_for_newline over the file's tree (indent.zig: the reference's containment engine, every capture and predicate the vendored queries use, the hybrid heuristic), else acme's copy as before; and Enter between a pair puts the closer on a line of its own at that indent and the cursor on one a level in, as helix's insert_newline does, in plain text too Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge