Merge branch 'main' of https://github.com/LarssonMartin1998/.dotfiles
This commit is contained in:
commit
29859d95ec
8 changed files with 136 additions and 31 deletions
|
|
@ -25,6 +25,29 @@ return {
|
|||
end,
|
||||
})
|
||||
end
|
||||
|
||||
require("utils").add_keymaps({
|
||||
n = {
|
||||
["gd"] = {
|
||||
cmd = function()
|
||||
vim.lsp.buf.definition()
|
||||
end,
|
||||
opts = {
|
||||
noremap = true,
|
||||
silent = true
|
||||
}
|
||||
},
|
||||
["gD"] = {
|
||||
cmd = function()
|
||||
vim.lsp.buf.declaration()
|
||||
end,
|
||||
opts = {
|
||||
noremap = true,
|
||||
silent = true
|
||||
}
|
||||
},
|
||||
}
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue