-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathavante.nix
55 lines (54 loc) · 1 KB
/
avante.nix
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
{
plugins.avante = {
enable = false;
settings = {
claude = {
endpoint = "https://api.anthropic.com";
max_tokens = 4096;
model = "claude-3-5-sonnet-20240620";
temperature = 0;
};
diff = {
autojump = true;
debug = false;
list_opener = "copen";
};
highlights = {
diff = {
current = "DiffText";
incoming = "DiffAdd";
};
};
hints = {
enabled = true;
};
mappings = {
diff = {
both = "cb";
next = "]x";
none = "c0";
ours = "co";
prev = "[x";
theirs = "tc";
};
};
provider = "claude";
windows = {
sidebar_header = {
align = "center";
rounded = true;
};
width = 30;
wrap = true;
};
};
};
plugins.render-markdown = {
enable = true;
settings = {
file_types = [
"Avante"
];
};
};
}