class

Kakoune::CompletionBuilder

Inherits Kakoune::Arguments / Reference / Object

Constructors

new(name : String, line : Int32, column : Int32, length : Int32, timestamp : Int32)

Creates a new builder.

Source
new(name, line, column, length, timestamp, &)

Creates a new builder, with its configuration specified in the block.

Source

Class methods

build(name, line, column, length, timestamp, &block : self -> )

Builds command from block.

Source

Instance methods

add(text : String, command : Array(Command), menu : String)

Adds a single candidate.

Source
add(candidates : Array(Candidate))

Adds multiple candidates.

Source
add(io : IO)

Adds candidates from a JSON stream.

Source
build

Builds the completion command.

Source
column
Source
column=(column : Int32)
Source
input

Constructor

Source
input=(input : Array(Tuple(String, Array(Array(String)), String)))

Constructor

Source
length
Source
length=(length : Int32)
Source
line
Source
line=(line : Int32)
Source
name

Properties

Source
name=(name : String)

Properties

Source
timestamp
Source
timestamp=(timestamp : Int32)
Source

Nested types