From 021627133a04ff57546d816922b306f933e83a06 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 24 Jul 2013 23:18:52 +0200 Subject: [PATCH] update interfacing.asciidoc --- doc/interfacing.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/interfacing.asciidoc b/doc/interfacing.asciidoc index 5971582e..4b9fa4d6 100644 --- a/doc/interfacing.asciidoc +++ b/doc/interfacing.asciidoc @@ -85,7 +85,7 @@ external completions are provided using the +completions+ option, which have the following format. ---- -line:column[+len]@timestamp;candidate1;candidate2;... +line.column[+len]@timestamp:candidate1:candidate2:... ---- the first element of this string list specify where and when this completions @@ -110,12 +110,12 @@ nop %sh{ ( # launch a detached shell buffer="${kak_opt_plugin_filename}" line="${kak_cursor_line}" column="${kak_cursor_column}" - # run completer program an put output in semicolon separated format + # run completer program and put output in colon separated format candidates=$(completer $buffer $line $column | completer_filter) # remove temporary file rm $buffer # generate completion option value - completions="$line:$column@$kak_timestamp;$candidates" + completions="$line.$column@$kak_timestamp:$candidates" # write to kakoune socket for the buffer that triggered the completion echo "setb -buffer '${kak_bufname}' completions '$completions'" | socat stdin UNIX-SOCKET:${kak_socket}