fix(util.lsp): add desc for keymaps reference (#3193)

This commit is contained in:
Iordanis Petkakis 2024-05-17 12:19:34 +03:00 committed by GitHub
parent 779de263f1
commit b1ea356e6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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