From f17d139c594407e98674b0ec4e32ac908f768d18 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 10 Jan 2024 00:49:22 +0000 Subject: [PATCH] Don't do completion in command mode This is stopping normal expansion of things like `%:h` for the directory of the current buffer. --- after/plugin/completion.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/after/plugin/completion.lua b/after/plugin/completion.lua index ddb7592..0e60829 100644 --- a/after/plugin/completion.lua +++ b/after/plugin/completion.lua @@ -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 [[ augroup DadbodSql au!