add explicit begin-completion bind

Thu, 09 Mar 2023 00:15:10 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Mar 2023 00:15:10 -0600
changeset 1071
e76020af023d
parent 1070
72b613de1102
child 1072
68ed15b14844

add explicit begin-completion bind

.config/nvim/lua/plugins/completion.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/completion.lua
+++ b/.config/nvim/lua/plugins/completion.lua
@@ -36,6 +36,7 @@ return {
           ["<S-Tab>"] = cmp.mapping.select_prev_item(),
           ["<C-g>"] = cmp.mapping.abort(),
           ["<Right>"] = cmp.mapping.confirm({ select = true }),
+          ["<C-Space>"] = cmp.mapping.complete(),
           ["<Space>"] = function(fallback)
             if cmp.visible() then
               cmp.confirm({ select = false }, function()

mercurial