From d637c4fbc1d72a22a4504157db4241e132fca4ef Mon Sep 17 00:00:00 2001 From: AnsonH Date: Fri, 14 Jan 2022 18:06:11 +0800 Subject: [PATCH] Set up cmp-cmdline --- lua/user/cmp.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index a151214..12976bb 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -127,3 +127,9 @@ cmp.setup { native_menu = false, }, } + +cmp.setup.cmdline(':', { + sources = { + { name = "cmdline" }, + }, +})