From 0b3301c53fcad4de31a3803adce88d8cbd642814 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
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.
---
 config/neovim/after/plugin/completion.lua | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/config/neovim/after/plugin/completion.lua b/config/neovim/after/plugin/completion.lua
index ddb7592e..0e608299 100644
--- a/config/neovim/after/plugin/completion.lua
+++ b/config/neovim/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!