Files
LLS/include/Completion.h
T
2026-10-17 03:29:11 -03:00

13 lines
282 B
C++

#pragma once
#include <cstddef>
#include <string>
#include <vector>
// 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<std::string> candidates;
};