diff .chezmoitemplates/init.lua @ 640:1637824c8eb0

only give history options after 4 chars
author zegervdv <zegervdv@me.com>
date Sat, 20 Aug 2022 10:27:13 +0200
parents b6c64ebecc3e
children 18a279ecde89
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Fri Aug 19 14:02:16 2022 +0200
+++ b/.chezmoitemplates/init.lua	Sat Aug 20 10:27:13 2022 +0200
@@ -310,7 +310,7 @@
         sources = cmp.config.sources({
           { name = 'path' },
         }, {
-          { name = 'cmdline_history' },
+          { name = 'cmdline_history', keyword_length = 4 },
           { name = 'cmdline', keyword_length = 4 },
         }),
       })