Modular in-buffer completion framework