plugins.wilder.enable
Whether to enable wilder-nvim.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.wilder.enableCmdlineEnter
If true calls wilder#enable_cmdline_enter()
.
Creates a new |CmdlineEnter|
autocmd to which will start wilder when the cmdline is
entered.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.wilder.package
Which package to use for the wilder-nvim plugin.
Type: package
Default:
<derivation vimplugin-wilder.nvim-2022-08-13>
Declared by:
plugins.wilder.acceptCompletionAutoSelect
The auto_select
option passed to wilder#accept_completion()
, if mapped.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.wilder.acceptKey
Mapping to bind to wilder#accept_completion()
.
NOTE:
A string or an attrs (with keys key
and fallback
) representing the mapping to bind to
|wilder#next()|
.
If a string is provided, it is automatically converted to {key = <KEY>; fallback = <KEY>;}
.
mapping
is the|cmap|
used to bind to|wilder#next()|
.fallback
is the mapping used if|wilder#in_context()|
is false.
Plugin default: <Down>
Type: null or string or (submodule)
Default:
null
Declared by:
plugins.wilder.beforeCursor
If true, wilder will look only at the part of the cmdline before the cursor, and when
selecting a completion, the entire cmdline will be replaced.
Only applicable if useCmdlinechanged
is false.
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.wilder.extraOptions
These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.
Type: attribute set of anything
Default:
{ }
Declared by:
plugins.wilder.interval
Interval of the |timer|
used to check whether the cmdline has changed, in milliseconds.
Only applicable if useCmdlinechanged
is false.
Plugin default: 100
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by:
plugins.wilder.modes
List of modes which wilderw will be active in. Possible elements: ‘/’, ‘?’ and ‘:’
Plugin default: ["/" "?"]
Type: null or (list of (one of “/”, “?”, “:”))
Default:
null
Declared by:
plugins.wilder.nextKey
A key to map to wilder#next()
providing next suggestion.
NOTE:
A string or an attrs (with keys key
and fallback
) representing the mapping to bind to
|wilder#next()|
.
If a string is provided, it is automatically converted to {key = <KEY>; fallback = <KEY>;}
.
mapping
is the|cmap|
used to bind to|wilder#next()|
.fallback
is the mapping used if|wilder#in_context()|
is false.
Plugin default: <Tab>
Type: null or string or (submodule)
Default:
null
Declared by:
plugins.wilder.numWorkers
Number of workers for the Python 3 |remote-plugin|
.
Has to be set at startup, before wilder is first run.
Setting the option after the first run has no effect.
Plugin default: 2
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by:
plugins.wilder.pipeline
Sets the pipeline to use to get completions.
See |wilder-pipeline|
.
Example:
[
\'\'
wilder.branch(
wilder.cmdline_pipeline({
language = 'python',
fuzzy = 1,
}),
wilder.python_search_pipeline({
pattern = wilder.python_fuzzy_pattern(),
sorter = wilder.python_difflib_sorter(),
engine = 're',
})
)
\'\'
]
Type: null or (list of lua code string)
Default:
null
Declared by:
plugins.wilder.postHook
A function which takes a ctx
.
This function is called when wilder stops, or when wilder becomes hidden.
See |wilder-hidden|
.
ctx
contains no keys.
Plugin default: nil
Type: null or lua function string
Default:
null
Declared by:
plugins.wilder.preHook
A function which takes a ctx
.
This function is called when wilder starts, or when wilder becomes unhidden.
See |wilder-hidden|
.
ctx
contains no keys.
Plugin default: nil
Type: null or lua function string
Default:
null
Declared by:
plugins.wilder.prevKey
A key to map to wilder#prev()
providing previous suggestion.
NOTE:
A string or an attrs (with keys key
and fallback
) representing the mapping to bind to
|wilder#next()|
.
If a string is provided, it is automatically converted to {key = <KEY>; fallback = <KEY>;}
.
mapping
is the|cmap|
used to bind to|wilder#next()|
.fallback
is the mapping used if|wilder#in_context()|
is false.
Plugin default: <S-Tab>
Type: null or string or (submodule)
Default:
null
Declared by:
plugins.wilder.rejectKey
Mapping to bind to wilder#reject_completion()
.
NOTE:
A string or an attrs (with keys key
and fallback
) representing the mapping to bind to
|wilder#next()|
.
If a string is provided, it is automatically converted to {key = <KEY>; fallback = <KEY>;}
.
mapping
is the|cmap|
used to bind to|wilder#next()|
.fallback
is the mapping used if|wilder#in_context()|
is false.
Plugin default: <Up>
Type: null or string or (submodule)
Default:
null
Declared by:
plugins.wilder.renderer
Sets the renderer to used to display the completions.
See |wilder-renderer|
.
Example:
\'\'
wilder.wildmenu_renderer({
-- highlighter applies highlighting to the candidates
highlighter = wilder.basic_highlighter(),
})
\'\'
Plugin default: nil
Type: null or lua function string
Default:
null
Declared by:
plugins.wilder.useCmdlinechanged
If true, wilder will refresh queries when the |CmdlineChanged|
autocommand is triggered.
Otherwise it will use a |timer|
to check whether the cmdline has changed.
Using a timer will be more resource intensive.
Default: exists('##CmdlineChanged')
Type: null or boolean
Default:
null
Declared by:
plugins.wilder.usePythonRemotePlugin
If true, uses the Python remote plugin. This option can be set to false to disable the Python remote plugin.
This option has to be set before setting the pipeline
option and before wilder is first
run.
Default: has('python3') && (has('nvim') || exists('*yarp#py3'))
Type: null or boolean
Default:
null
Declared by:
plugins.wilder.wildcharm
Key to set the ‘wildcharm’ option to. Can be set to v:false to skip the setting.
Plugin default: &wildchar
Type: null or string or value false (singular enum)
Default:
null
Declared by: