From f7bb7caba68588f12cedb659288b591b71a3f62d Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 16 Apr 2022 00:44:37 +0800 Subject: [PATCH] [nvim 0.7] vim.keymap.set opts update --- lua/config/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 2d77e0e1..7b0c67e0 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -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", "", vim.lsp.buf.definition, opts) vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)