mirror of https://github.com/LazyVim/starter
fix: fix declaration keymap
parent
7810bb9fc4
commit
a52833050b
|
@ -37,7 +37,7 @@ map("n", "<leader>gb", "<CMD>GitBlameToggle<CR>", { desc = "Toggle Git Blame" })
|
|||
map({ "n", "i", "v" }, "<f12>", function()
|
||||
vim.lsp.buf.definition()
|
||||
end, { desc = "Go to definition" })
|
||||
map({ "n", "i", "v" }, "<F12>", function()
|
||||
map({ "n", "i", "v" }, "<S-f12>", function()
|
||||
vim.lsp.buf.declaration()
|
||||
end, { desc = "Go to declaration" })
|
||||
map("n", "<F6>", "<CMD>CompilerOpen<CR>", { desc = "Open compiler" })
|
||||
|
|
Loading…
Reference in New Issue