Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit b9ddf4c

Browse files
committed
fix(rust): gd as go to definition key
1 parent 65dbc32 commit b9ddf4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/pea/config/rustacean.lua

+5
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@ return function()
33
tools = {
44
executor = "toggleterm",
55
},
6+
server = {
7+
on_attach = function()
8+
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
9+
end,
10+
},
611
}
712
end

0 commit comments

Comments
 (0)