-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathai.lua
69 lines (67 loc) · 1.36 KB
/
ai.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
return {
{
"which-key.nvim",
opts = {
spec = {
{ "<leader>a", group = "+ai" },
},
},
},
{
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
opts = {
mappings = {
submit = {
insert = "<C-CR>",
},
},
},
build = "make",
dependencies = {
"nvim-tree/nvim-web-devicons",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
"ibhagwan/fzf-lua",
{
-- 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,
},
},
},
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
},
{
"yetone/avante.nvim",
opts = {
provider = "openai",
openai = {
model = "deepseek-chat",
endpoint = "https://api.deepseek.com",
},
windows = {
width = 40,
},
},
},
}