From 9bfade813d4082be902945e7ff6e6f911f55bfbf Mon Sep 17 00:00:00 2001 From: newbieQQ <1770362456@qq.com> Date: Mon, 8 May 2023 23:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=B1=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/Plugin/coc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/Plugin/coc.lua b/lua/Plugin/coc.lua index 5cc12bb..b62f79a 100644 --- a/lua/Plugin/coc.lua +++ b/lua/Plugin/coc.lua @@ -5,13 +5,12 @@ G.g.coc_user_config = G.fn.stdpath('config') .. 'lua/Plugin/coc-settings.json' G.g['coc_global_extensions'] = { "coc-clangd", "coc-python", - "coc-json", "coc-lua", + "coc-json", "coc-translator", "coc-yank", "coc-pairs", - "coc-lists", } -- Having longer updatetime (default is 4000 ms = 4s) leads to noticeable @@ -78,6 +77,7 @@ keyset("o", "ac", "(coc-classobj-a)", opts) -- translator keyset("n", "tt", "(coc-translator-p)") keyset("v", "tt", "(coc-translator-pv)") + -- translator-releader keyset("n", "tr", "(coc-translator-r)") keyset("v", "tr", "(coc-translator-rv)")