diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-08-06 21:37:43 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-08-06 21:37:43 +0200 |
| commit | a712dd5bbe8d2b4b433ce90f7d977acf762ad080 (patch) | |
| tree | f5d8b0b8f6d5724aa4f84cb173c1f01b753621c4 /src/completion.cc | |
| parent | 39797f87dc73675881854b38611489de1dba6b8f (diff) | |
Completions functions take a Context parameter
Diffstat (limited to 'src/completion.cc')
| -rw-r--r-- | src/completion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/completion.cc b/src/completion.cc index 06cf0856..09744f27 100644 --- a/src/completion.cc +++ b/src/completion.cc @@ -9,7 +9,8 @@ namespace Kakoune { -CandidateList complete_filename(const String& prefix, +CandidateList complete_filename(const Context& context, + const String& prefix, size_t cursor_pos) { String real_prefix = prefix.substr(0, cursor_pos); |
