From 17351b228abd9f953c2789f98b1403ea496b30a4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 9 Jun 2024 14:09:13 +0200 Subject: use telescope-coc --- lua/maps/coc.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/maps/coc.lua') diff --git a/lua/maps/coc.lua b/lua/maps/coc.lua index d7b2b3c..85eacfc 100644 --- a/lua/maps/coc.lua +++ b/lua/maps/coc.lua @@ -38,10 +38,10 @@ vim.api.nvim_set_keymap("n", "[g", "(coc-diagnostic-prev)", {silent = true vim.api.nvim_set_keymap("n", "]g", "(coc-diagnostic-next)", {silent = true}) -- GoTo code navigation. -vim.api.nvim_set_keymap("n", "gd", "(coc-definition)", {silent = true}) -vim.api.nvim_set_keymap("n", "gy", "(coc-type-definition)", {silent = true}) -vim.api.nvim_set_keymap("n", "gi", "(coc-implementation)", {silent = true}) -vim.api.nvim_set_keymap("n", "gr", "(coc-references)", {silent = true}) +vim.api.nvim_set_keymap("n", "gd", ":Telescope coc definitions", {silent = true}) +vim.api.nvim_set_keymap("n", "gy", ":Telescope coc type_definitions", {silent = true}) +vim.api.nvim_set_keymap("n", "gi", ":Telescope coc implementations", {silent = true}) +vim.api.nvim_set_keymap("n", "gr", ":Telescope coc references", {silent = true}) -- Use K to show documentation in preview window. vim.api.nvim_set_keymap("n", "K", ":call v:lua.show_documentation()", -- cgit v1.2.3-18-g5258