show completion on commandline as you type

This commit is contained in:
fiplox 2023-01-24 15:33:35 +01:00
parent 27bac8f80e
commit 6135a22b88
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ function M.config()
}, },
} }
cmp.setup.cmdline(':', { cmp.setup.cmdline(':', {
completion = { autocomplete = { 'TextChanged' } },
mapping = cmp.mapping.preset.cmdline(), mapping = cmp.mapping.preset.cmdline(),
sources = { sources = {
{ name = 'cmdline' }, { name = 'cmdline' },