Skip to content

Commit

Permalink
[nvim 0.7] vim.keymap.set opts update
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhao committed Apr 15, 2022
1 parent 617fb73 commit f7bb7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/config/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f7bb7ca

Please sign in to comment.