summaryrefslogtreecommitdiff
path: root/lua/core/compe.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-25 23:28:47 -0400
committerchristianchiarulli <[email protected]>2021-07-25 23:28:47 -0400
commite6f4b20346f4257f065b18ffa3cf1ff34e0f0b56 (patch)
tree1cd557a8e4596e822b258ec5d905f55fe39b4eba /lua/core/compe.lua
parentaa356858ef18b54a5744a7a89ee4df7a5976bcd7 (diff)
autoindent issue solved finally
Diffstat (limited to 'lua/core/compe.lua')
-rw-r--r--lua/core/compe.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/compe.lua b/lua/core/compe.lua
index c0bd58ab..73e93b05 100644
--- a/lua/core/compe.lua
+++ b/lua/core/compe.lua
@@ -87,7 +87,7 @@ M.setup = function()
vim.api.nvim_set_keymap("s", "<S-Tab>", "v:lua.s_tab_complete()", { expr = true })
vim.api.nvim_set_keymap("i", "<C-Space>", "compe#complete()", { noremap = true, silent = true, expr = true })
- vim.api.nvim_set_keymap("i", "<CR>", "compe#confirm('<CR>')", { noremap = true, silent = true, expr = true })
+ -- vim.api.nvim_set_keymap("i", "<CR>", "compe#confirm('<CR>')", { noremap = true, silent = true, expr = true })
vim.api.nvim_set_keymap("i", "<C-e>", "compe#close('<C-e>')", { noremap = true, silent = true, expr = true })
vim.api.nvim_set_keymap("i", "<C-f>", "compe#scroll({ 'delta': +4 })", { noremap = true, silent = true, expr = true })
vim.api.nvim_set_keymap("i", "<C-d>", "compe#scroll({ 'delta': -4 })", { noremap = true, silent = true, expr = true })