feat(cmp): toggle
1 files changed, 9 insertions(+), 0 deletions(-) M config/plugins/cmp.nix
M config/plugins/cmp.nix => config/plugins/cmp.nix +9 -0
@@ 26,6 26,15 @@ { "i", "c" } ) ''; + "<C-space>" = '' + cmp.mapping(function() + if cmp.visible() then + cmp.close() + else + cmp.complete() + end + end) + ''; }; }; };