From b1ea356e6c676571907ce654ec3878c530c636ad Mon Sep 17 00:00:00 2001 From: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com> Date: Fri, 17 May 2024 12:19:34 +0300 Subject: [PATCH] fix(util.lsp): add `desc` for keymaps reference (#3193) --- lua/lazyvim/util/lsp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/util/lsp.lua b/lua/lazyvim/util/lsp.lua index 4df758a4..a4acdc19 100644 --- a/lua/lazyvim/util/lsp.lua +++ b/lua/lazyvim/util/lsp.lua @@ -160,10 +160,10 @@ function M.words.setup(opts) }) vim.keymap.set("n", "]]", function() M.words.jump(vim.v.count1) - end, { buffer = buf }) + end, { buffer = buf, desc = "Next reference" }) vim.keymap.set("n", "[[", function() M.words.jump(-vim.v.count1) - end, { buffer = buf }) + end, { buffer = buf, desc = "Previous reference" }) end end) end