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)")