#pragma once #include #include #include // Result of a tab-completion request: the text from `start` up to the cursor // can be replaced by any of `candidates`. struct Completion { std::size_t start = 0; std::vector candidates; };