Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 593:ece4809c1313
enable mapping for cmp-cmdline
author | Zeger Van de Vannet <zegervdv@me.com> |
---|---|
date | Mon, 02 May 2022 16:16:51 +0200 |
parents | 84209805e28f |
children | e8615fbcf11b |
comparison
equal
deleted
inserted
replaced
592:84209805e28f | 593:ece4809c1313 |
---|---|
350 ghost_text = true, | 350 ghost_text = true, |
351 }, | 351 }, |
352 } | 352 } |
353 | 353 |
354 cmp.setup.cmdline(':', { | 354 cmp.setup.cmdline(':', { |
355 mapping = cmp.mapping.preset.cmdline(), | |
355 sources = cmp.config.sources({ | 356 sources = cmp.config.sources({ |
356 { name = 'path' }, | 357 { name = 'path' }, |
357 }, { | 358 }, { |
358 { name = 'cmdline', keyword_length = 4 }, | 359 { name = 'cmdline', keyword_length = 4 }, |
359 }), | 360 }), |