# HG changeset patch # User zegervdv # Date 1659778679 -7200 # Node ID 38a7bca2ba51d7d8affc44ff7fe5f57a3a9ae17c # Parent 9f040a50eac8a531ced90cc5a65417a5abeee4a8 Add cmp-cmdline-history plugin to also complete history diff -r 9f040a50eac8 -r 38a7bca2ba51 .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sat Aug 06 11:34:34 2022 +0200 +++ b/.chezmoitemplates/init.lua Sat Aug 06 11:37:59 2022 +0200 @@ -264,6 +264,7 @@ 'hrsh7th/cmp-path', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-nvim-lsp-signature-help', + 'dmitmel/cmp-cmdline-history', }, config = function() local cmp = require 'cmp' @@ -309,6 +310,7 @@ sources = cmp.config.sources({ { name = 'path' }, }, { + { name = 'cmdline_history' }, { name = 'cmdline', keyword_length = 4 }, }), })