Don't do completion in command mode

This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
This commit is contained in:
Oliver Davies 2024-01-10 00:49:22 +00:00
parent 47bb1d55db
commit f17d139c59

View file

@ -74,15 +74,6 @@ cmp.setup.cmdline({ "/", "?" }, {
}, },
}) })
cmp.setup.cmdline(":", {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({
{ name = "path" },
}, {
{ name = "cmdline" },
}),
})
vim.cmd [[ vim.cmd [[
augroup DadbodSql augroup DadbodSql
au! au!