summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/compe.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/core/compe.lua')
-rw-r--r--.config/nvim/lua/core/compe.lua20
1 files changed, 16 insertions, 4 deletions
diff --git a/.config/nvim/lua/core/compe.lua b/.config/nvim/lua/core/compe.lua
index 3291918..14fba1a 100644
--- a/.config/nvim/lua/core/compe.lua
+++ b/.config/nvim/lua/core/compe.lua
@@ -45,10 +45,22 @@ M.config = function()
insert_mode = {
-- ["<Tab>"] = { 'pumvisible() ? "<C-n>" : "<Tab>"', { silent = true, noremap = true, expr = true } },
-- ["<S-Tab>"] = { 'pumvisible() ? "<C-p>" : "<S-Tab>"', { silent = true, noremap = true, expr = true } },
- ["<C-Space>"] = { "compe#complete()", { silent = true, noremap = true, expr = true } },
- ["<C-e>"] = { "compe#close('<C-e>')", { silent = true, noremap = true, expr = true } },
- ["<C-f>"] = { "compe#scroll({ 'delta': +4 })", { silent = true, noremap = true, expr = true } },
- ["<C-d>"] = { "compe#scroll({ 'delta': -4 })", { silent = true, noremap = true, expr = true } },
+ ["<C-Space>"] = {
+ "compe#complete()",
+ { silent = true, noremap = true, expr = true },
+ },
+ ["<C-e>"] = {
+ "compe#close('<C-e>')",
+ { silent = true, noremap = true, expr = true },
+ },
+ ["<C-f>"] = {
+ "compe#scroll({ 'delta': +4 })",
+ { silent = true, noremap = true, expr = true },
+ },
+ ["<C-d>"] = {
+ "compe#scroll({ 'delta': -4 })",
+ { silent = true, noremap = true, expr = true },
+ },
},
},
opts = {