dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit f286909c02b121652ea51b802219df8686f469e7
parent 0c04b9cc9dd85f7de257436b3ac667db907d09f3
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed,  4 Sep 2024 17:27:44 -0700

vim: eliminate <leader>cd shortcut

nvim-lspconfig already maps `K` in normal mode to show hover documentation.

Diffstat:
M.config/nvim/lua/plugins/languages.lua | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/.config/nvim/lua/plugins/languages.lua b/.config/nvim/lua/plugins/languages.lua @@ -86,8 +86,6 @@ return { group = vim.api.nvim_create_augroup("UserLspConfig", {}), callback = function(ev) local opts = { buffer = ev.buf, silent = true } - opts.desc = "Show documentation for what is under cursor" - vim.keymap.set("n", "<leader>cd", vim.lsp.buf.hover, opts) opts.desc = "See available code actions" vim.keymap.set({"n", "v"}, "<leader>ca", vim.lsp.buf.code_action, opts) opts.desc = "Smart rename"