mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-06-08 13:02:38 +00:00
feat(mappings): allowing passing desc to mappings (#2892)
This commit is contained in:
+1
-1
@@ -1939,7 +1939,7 @@ ordered from the lowest priority to the highest priority.
|
||||
|
||||
map({"i", "n"}, "<C-r>", function(_prompt_bufnr)
|
||||
print "You typed <C-r>"
|
||||
end)
|
||||
end, { desc = "desc for which key"})
|
||||
|
||||
-- needs to return true if you want to map default_mappings and
|
||||
-- false if not
|
||||
|
||||
Reference in New Issue
Block a user