mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
[nvim 0.7] vim.keymap.set opts update
This commit is contained in:
parent
617fb733d7
commit
f7bb7caba6
@ -18,7 +18,7 @@ end
|
||||
|
||||
local custom_attach = function(client, bufnr)
|
||||
-- Mappings.
|
||||
local opts = { noremap = true, silent = true, buffer = bufnr }
|
||||
local opts = { silent = true, buffer = bufnr }
|
||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
||||
vim.keymap.set("n", "<C-]>", vim.lsp.buf.definition, opts)
|
||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user