From 3a53777ee862392dea0be05f300625ad89fb72fc Mon Sep 17 00:00:00 2001 From: Aotrix Date: Sun, 23 Jun 2024 20:58:25 +0200 Subject: gr command not working well .... fix asap --- lua/autocomplete/autocomplete.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lua/autocomplete/autocomplete.lua') diff --git a/lua/autocomplete/autocomplete.lua b/lua/autocomplete/autocomplete.lua index ae863d6..eaa7a4b 100644 --- a/lua/autocomplete/autocomplete.lua +++ b/lua/autocomplete/autocomplete.lua @@ -28,11 +28,6 @@ keyset("i", "", "coc#refresh()", {silent = true, expr = true}) keyset("n", "[g", "(coc-diagnostic-prev)", {silent = true}) keyset("n", "]g", "(coc-diagnostic-next)", {silent = true}) --- GoTo code navigation -keyset("n", "gd", "(coc-definition)", {silent = true}) -keyset("n", "gy", "(coc-type-definition)", {silent = true}) -keyset("n", "gi", "(coc-implementation)", {silent = true}) -keyset("n", "gr", "(coc-references)", {silent = true}) -- Use K to show documentation in preview window @@ -46,7 +41,6 @@ function _G.show_docs() vim.api.nvim_command('!' .. vim.o.keywordprg .. ' ' .. cw) end end -keyset("n", "K", 'lua _G.show_docs()', {silent = true}) -- Highlight the symbol and its references on a CursorHold event(cursor is idle) -- cgit v1.2.3