Skip to content

Commit

Permalink
flip gd & <leader>gd
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed Mar 18, 2024
1 parent cb0d6f4 commit 09de33a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/aceforeverd/lsp/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,17 @@ local global_maps = {

local lsp_maps = {
n = {
['gd'] = function()
require('telescope.builtin').lsp_definitions()
end,
['gd'] = vim.lsp.buf.definition,
['gD'] = vim.lsp.buf.declaration,
['gi'] = function()
require('telescope.builtin').lsp_implementations()
end,
['gr'] = [[<cmd>FzfLua lsp_references<CR>]],
['<leader>gd'] = vim.lsp.buf.definition,
['K'] = vim.lsp.buf.hover,
['gK'] = vim.lsp.buf.signature_help,
['<leader>gd'] = function()
require('telescope.builtin').lsp_definitions()
end,
['<leader>gi'] = vim.lsp.buf.implementation,
['<leader>gr'] = vim.lsp.buf.references,
['<Leader>wa'] = vim.lsp.buf.add_workspace_folder,
Expand Down

0 comments on commit 09de33a

Please sign in to comment.