From c436ad984f1704b3485b25e4dfbf6efb063c565a Mon Sep 17 00:00:00 2001 From: juan Date: Sun, 26 Sep 2021 11:42:29 +0800 Subject: [PATCH] update coq and autopairs settings --- lua/plugins/coq.lua | 2 +- lua/plugins/nvim-autopairs.lua | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 })