diff --git a/lua/plugins/coq.lua b/lua/plugins/coq.lua index 2a09070..fe30ce2 100644 --- a/lua/plugins/coq.lua +++ b/lua/plugins/coq.lua @@ -1,2 +1,2 @@ -vim.g.coq_settings = {auto_start = true, clients = {tabnine = {enabled = true}}} +vim.g.coq_settings = { keymap = { recommended = false }, auto_start = true, clients= {tabnine = { enabled = true}} } vim.cmd('COQnow -s') diff --git a/lua/plugins/nvim-autopairs.lua b/lua/plugins/nvim-autopairs.lua index 3bfae94..d4797bc 100644 --- a/lua/plugins/nvim-autopairs.lua +++ b/lua/plugins/nvim-autopairs.lua @@ -3,8 +3,6 @@ local npairs = require('nvim-autopairs') npairs.setup({ map_bs = false }) -vim.g.coq_settings = { keymap = { recommended = false } } - -- these mappings are coq recommended mappings unrelated to nvim-autopairs remap('i', '', [[pumvisible() ? "" : ""]], { expr = true, noremap = true }) remap('i', '', [[pumvisible() ? "" : ""]], { expr = true, noremap = true })