Make gd work properly
This commit is contained in:
parent
f40d9ae8d4
commit
c4bc87d310
1 changed files with 2 additions and 0 deletions
2
init.lua
2
init.lua
|
@ -12,3 +12,5 @@ else
|
||||||
end
|
end
|
||||||
|
|
||||||
require'lspconfig'.gopls.setup{}
|
require'lspconfig'.gopls.setup{}
|
||||||
|
|
||||||
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition, { silent = true })
|
||||||
|
|
Loading…
Reference in a new issue