diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-28 22:58:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-28 22:58:02 +0200 |
commit | fc65cabb15d0236bce001ad78e12a40511caf941 (patch) | |
tree | 071cd16ce17e02121ac1c7db7c7518cc70f10a79 /runtime/doc/insert.txt | |
parent | 627cb6a6b37d17433fe2d7df1f287eefb5b370e3 (diff) | |
download | vim-git-fc65cabb15d0236bce001ad78e12a40511caf941.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r-- | runtime/doc/insert.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index e145cacf3..a200fc5ca 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1051,13 +1051,13 @@ The function must return the column where the completion starts. It must be a number between zero and the cursor column "col('.')". This involves looking at the characters just before the cursor and including those characters that could be part of the completed item. The text between this column and the -cursor column will be replaced with the matches. +cursor column will be replaced with the matches. If the returned value is +larger than the cursor column, the cursor column is used. -Special return values: - -1 If no completion can be done, the completion will be cancelled with an - error message. - -2 To cancel silently and stay in completion mode. - -3 To cancel silently and leave completion mode. +Negative return values: + -2 To cancel silently and stay in completion mode. + -3 To cancel silently and leave completion mode. + Another negative value: completion starts at the cursor column On the second invocation the arguments are: a:findstart 0 |