-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9506e6e
commit 4faedd4
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
return { | ||
"yetone/avante.nvim", | ||
event = "VeryLazy", | ||
lazy = false, | ||
opts = { | ||
provider = "copilot", -- Set the provider to "copilot" | ||
mappings = { | ||
--- @class AvanteConflictMappings | ||
diff = { | ||
ours = "co", | ||
theirs = "ct", | ||
all_theirs = "ca", | ||
both = "cb", | ||
cursor = "cc", | ||
next = "]x", | ||
prev = "[x", | ||
}, | ||
jump = { | ||
next = "]]", | ||
prev = "[[", | ||
}, | ||
submit = { | ||
normal = "<S-CR>", | ||
insert = "<CR>", | ||
}, | ||
}, | ||
}, | ||
build = ":AvanteBuild", -- This is optional, recommended tho. | ||
dependencies = { | ||
"stevearc/dressing.nvim", | ||
"nvim-lua/plenary.nvim", | ||
"MunifTanjim/nui.nvim", | ||
--- The below dependencies are optional, | ||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons | ||
"zbirenbaum/copilot.lua", -- for providers='copilot' | ||
-- { | ||
-- -- support for image pasting | ||
-- "HakonHarnes/img-clip.nvim", | ||
-- event = "VeryLazy", | ||
-- opts = { | ||
-- -- recommended settings | ||
-- default = { | ||
-- embed_image_as_base64 = false, | ||
-- prompt_for_file_name = false, | ||
-- drag_and_drop = { | ||
-- insert_mode = true, | ||
-- }, | ||
-- -- required for Windows users | ||
-- use_absolute_path = true, | ||
-- }, | ||
-- }, | ||
-- }, | ||
{ | ||
-- Make sure to setup it properly if you have lazy=true | ||
"MeanderingProgrammer/render-markdown.nvim", | ||
opts = { | ||
file_types = { "markdown", "Avante" }, | ||
}, | ||
ft = { "markdown", "Avante" }, | ||
}, | ||
}, | ||
} |