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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.wilder.package
The wilder-nvim package to use.
Type: package
Default:
pkgs.vimPlugins.wilder-nvim
Declared by:
plugins.wilder.acceptCompletionAutoSelect
The auto_select
option passed to wilder#accept_completion()
, if mapped.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
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.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 100
Declared by:
plugins.wilder.modes
List of modes that wilder will be active in.
Type: null or (list of (one of “/”, “?”, “:” or raw lua code))
Default:
null
Plugin default:
[
"/"
"?"
]
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.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 2
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.
Type: null or lua function string
Default:
null
Plugin default: "nil"
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.
Type: null or lua function string
Default:
null
Plugin default: "nil"
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(),
})
\'\'
Type: null or lua function string
Default:
null
Plugin default: "nil"
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.
Type: null or string or value false (singular enum)
Default:
null
Plugin default: "&wildchar"
Declared by: