From c356a5bbd4f7d9690bacc5da5a885b48d6ca2545 Mon Sep 17 00:00:00 2001 From: Ethan Graf Date: Sat, 1 Aug 2026 15:46:55 -0400 Subject: [PATCH] Add a hint strip to the bottom of the `[[` completion popup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `#` and `|` modifiers were entirely undiscoverable — nothing in the UI said they existed. The popup now carries a horizontal strip showing what each does. @codemirror/autocomplete has no footer API: `Completion.section` renders a header ABOVE a group and an empty section is not rendered at all, and none of `tooltipClass` / `optionClass` / `addToOptions` / `positionInfo` places a node after the list. So the footer is appended to the popup root directly. Two details make that hold up. CodeMirror rebuilds the option list on every update with `list.remove(); dom.appendChild(createListBox(...))` — it removes only the list, so the footer survives, but the new `