aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/misc/editor-syntax-etc/vim
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-04-22 15:28:10 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-04-22 20:42:31 -0400
commitef717e73137e7ce0c0f699bbfa4fc2da461fce37 (patch)
tree499e1542200fa35746066f87328d6a092b0e8a34 /sundry/misc/editor-syntax-etc/vim
parentadd --pod2 flag, decouple --show-abstraction from --pod (diff)
add children_headings to document abstraction
Add int[] children_headings field to DocObj_MetaInfo_ and compute it in the post-processing pass of metadoc_from_src.d, right after last_descendant_ocn. Single O(n) pass builds a parent_ocn -> child heading OCNs map, then assigns to each heading object. Useful for tree-structured output. The .ssp serializer now reads directly from the abstraction field instead of pre-computing its own map. metadoc_object_setter.d: +1 line (field declaration) metadoc_from_src.d: +17 lines (computation) create_abstraction_txt.d: -10 lines (simplified) Co-Authored-By: Anthropic Claude Opus 4.6 (1M context)
Diffstat (limited to 'sundry/misc/editor-syntax-etc/vim')
0 files changed, 0 insertions, 0 deletions