plugins.cmp-tabnine.settings
Options provided to the require('cmp_tabnine.config'):setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
max_lines = 600;
max_num_results = 10;
sort = false;
}
Declared by:
plugins.cmp-tabnine.settings.ignored_file_types
Which file types to ignore.
Type: null or (attribute set of (boolean or raw lua code))
Default:
null
Plugin default: { }
Example:
{
lua = true;
}
Declared by:
plugins.cmp-tabnine.settings.max_lines
How many lines of buffer context to pass to TabNine.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 1000
Declared by:
plugins.cmp-tabnine.settings.max_num_results
How many results to return.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 20
Declared by:
plugins.cmp-tabnine.settings.min_percent
Eliminate items with a percentage less than min_percent
.
Type: null or integer or floating point number between 0 and 100 (both inclusive)
Default:
null
Plugin default: 0
Declared by:
plugins.cmp-tabnine.settings.run_on_every_keystroke
Generate new completion items on every keystroke.
For more info, check out #18.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.cmp-tabnine.settings.snippet_placeholder
Indicates where the cursor will be placed in case a completion item is asnippet. Any string is accepted.
For this to work properly, you need to setup snippet support for nvim-cmp
.
Type: null or string or raw lua code
Default:
null
Plugin default: ".."
Declared by:
plugins.cmp-tabnine.settings.sort
Sort results by returned priority.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by: