feat: add repo map display (#727)

Co-authored-by: yetone <yetoneful@gmail.com>
This commit is contained in:
teocns
2024-10-18 00:41:40 -06:00
committed by GitHub
parent 26bf8d67e8
commit 36b23cef16
4 changed files with 64 additions and 2 deletions

View File

@@ -174,6 +174,11 @@ H.keymaps = function()
function() M.toggle.suggestion() end,
{ desc = "avante: toggle suggestion" }
)
Utils.safe_keymap_set("n", Config.mappings.toggle.repomap, function() require("avante.repo_map").show() end, {
desc = "avante: display repo map",
noremap = true,
silent = true,
})
end
if Config.behaviour.auto_suggestions then