mirror of
https://github.com/micro-editor/micro.git
synced 2026-10-12 02:18:55 +00:00
PR #4028 moved the check for autocomplete from action autocomplete to the buffer one, which caused a few regression for upstream callers (commandbar autocomplete & plugins that use buffer autocomplete) that use the buffer autocomplete. This commit restores pre #4028 behavior by adding a callback variant for buffer autocomplete functions while keeping the multi-cursor autocomplete function.