mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-16 23:41:12 +02:00
fix(util.lsp): add desc
for keymaps reference (#3193)
This commit is contained in:
parent
779de263f1
commit
b1ea356e6c
1 changed files with 2 additions and 2 deletions
|
@ -160,10 +160,10 @@ function M.words.setup(opts)
|
||||||
})
|
})
|
||||||
vim.keymap.set("n", "]]", function()
|
vim.keymap.set("n", "]]", function()
|
||||||
M.words.jump(vim.v.count1)
|
M.words.jump(vim.v.count1)
|
||||||
end, { buffer = buf })
|
end, { buffer = buf, desc = "Next reference" })
|
||||||
vim.keymap.set("n", "[[", function()
|
vim.keymap.set("n", "[[", function()
|
||||||
M.words.jump(-vim.v.count1)
|
M.words.jump(-vim.v.count1)
|
||||||
end, { buffer = buf })
|
end, { buffer = buf, desc = "Previous reference" })
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue