mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
fix: fix declaration keymap
This commit is contained in:
parent
1d92e9186b
commit
ff626e9fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue