diff options
| author | jdhao <jdhao@hotmail.com> | 2022-04-16 00:44:37 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-04-16 01:00:21 +0800 |
| commit | f7bb7caba68588f12cedb659288b591b71a3f62d (patch) | |
| tree | d42c37af7d4f07c4425a094c83734166c5e62176 /lua | |
| parent | 617fb733d759d82338c6bac51f740274e543f741 (diff) | |
[nvim 0.7] vim.keymap.set opts update
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 2d77e0e..7b0c67e 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", "<C-]>", vim.lsp.buf.definition, opts) vim.keymap.set("n", "K", vim.lsp.buf.hover, opts) |
