mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-20 10:01:57 +03:00
26 lines
434 B
C++
26 lines
434 B
C++
|
#ifndef completion_hh_INCLUDED
|
||
|
#define completion_hh_INCLUDED
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
namespace Kakoune
|
||
|
{
|
||
|
|
||
|
typedef std::vector<std::string> CandidateList;
|
||
|
|
||
|
struct Completions
|
||
|
{
|
||
|
CandidateList candidates;
|
||
|
size_t start;
|
||
|
size_t end;
|
||
|
|
||
|
Completions(size_t start, size_t end)
|
||
|
: start(start), end(end) {}
|
||
|
};
|
||
|
|
||
|
CandidateList complete_filename(const std::string& prefix);
|
||
|
|
||
|
}
|
||
|
#endif // completion_hh_INCLUDED
|