Skip to content

Commit

Permalink
fix(rust): gd as go to definition key
Browse files Browse the repository at this point in the history
  • Loading branch information
cpea2506 committed Apr 6, 2024
1 parent 65dbc32 commit b9ddf4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/pea/config/rustacean.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ return function()
tools = {
executor = "toggleterm",
},
server = {
on_attach = function()
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
end,
},
}
end

0 comments on commit b9ddf4c

Please sign in to comment.