summaryrefslogtreecommitdiff
path: root/lua/autocomplete/autocomplete.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/autocomplete/autocomplete.lua')
-rw-r--r--lua/autocomplete/autocomplete.lua6
1 files changed, 0 insertions, 6 deletions
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", "<c-space>", "coc#refresh()", {silent = true, expr = true})
keyset("n", "[g", "<Plug>(coc-diagnostic-prev)", {silent = true})
keyset("n", "]g", "<Plug>(coc-diagnostic-next)", {silent = true})
--- GoTo code navigation
-keyset("n", "gd", "<Plug>(coc-definition)", {silent = true})
-keyset("n", "gy", "<Plug>(coc-type-definition)", {silent = true})
-keyset("n", "gi", "<Plug>(coc-implementation)", {silent = true})
-keyset("n", "gr", "<Plug>(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", '<CMD>lua _G.show_docs()<CR>', {silent = true})
-- Highlight the symbol and its references on a CursorHold event(cursor is idle)