plugins.cmp-tabby.settings

Options provided to the require('cmp_tabby.config'):setup function.

Type: attribute set of anything

Default: { }

Example:

{
  host = "http://localhost:5000";
  max_lines = 100;
  run_on_every_keystroke = true;
  stop = [
    ''
      
    ''
  ];
}

Declared by:

plugins.cmp-tabby.settings.host

The address of the tabby host server.

Type: null or string or raw lua code

Default: null

Plugin default: "http://localhost:5000"

Declared by:

plugins.cmp-tabby.settings.max_lines

The max number of lines to complete.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 100

Declared by:

plugins.cmp-tabby.settings.run_on_every_keystroke

Whether to run the completion on every keystroke.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.cmp-tabby.settings.stop

Stop character.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  ''
    
  ''
]

Declared by: