2023-07-03 12:04:39 +02:00
|
|
|
{
|
|
|
|
empty = {
|
2023-10-11 09:01:45 +02:00
|
|
|
plugins.wilder.enable = true;
|
2023-07-03 12:04:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
2023-10-11 09:01:45 +02:00
|
|
|
plugins.wilder = {
|
2023-07-03 12:04:39 +02:00
|
|
|
enable = true;
|
2023-10-11 09:01:45 +02:00
|
|
|
|
2023-10-11 09:02:40 +02:00
|
|
|
enableCmdlineEnter = true;
|
|
|
|
modes = ["/" "?"];
|
|
|
|
wildcharm = "&wildchar";
|
|
|
|
nextKey = "<Tab>";
|
|
|
|
prevKey = "<S-Tab>";
|
|
|
|
acceptKey = "<Down>";
|
|
|
|
rejectKey = "<Up>";
|
|
|
|
acceptCompletionAutoSelect = true;
|
|
|
|
|
|
|
|
useCmdlinechanged = false;
|
|
|
|
interval = 100;
|
|
|
|
beforeCursor = false;
|
|
|
|
usePythonRemotePlugin = true;
|
|
|
|
numWorkers = 2;
|
|
|
|
pipeline = [
|
|
|
|
''
|
|
|
|
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',
|
|
|
|
})
|
|
|
|
)
|
|
|
|
''
|
|
|
|
];
|
|
|
|
render = ''
|
|
|
|
wilder.wildmenu_renderer({
|
|
|
|
-- highlighter applies highlighting to the candidates
|
|
|
|
highlighter = wilder.basic_highlighter(),
|
|
|
|
})
|
|
|
|
'';
|
|
|
|
preHook = null;
|
|
|
|
postHook = null;
|
2023-07-03 12:04:39 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|