File tree Expand file tree Collapse file tree 4 files changed +35
-6
lines changed Expand file tree Collapse file tree 4 files changed +35
-6
lines changed Original file line number Diff line number Diff line change 65
65
"homepage" : " " ,
66
66
"owner" : " NixOS" ,
67
67
"repo" : " nixpkgs" ,
68
- "rev" : " 32f313e49e42f715491e1ea7b306a87c16fe0388 " ,
69
- "sha256" : " 1z4ga87qla5300qwib3dnjnkaywwh8y1qqsb8w2mrsrw78k9xmlw " ,
68
+ "rev" : " 647e5c14cbd5067f44ac86b74f014962df460840 " ,
69
+ "sha256" : " 0m30xfi18dgxi5lx9zgqpq1kxwdwrdg9wdbzzgs8cicmsvq6ami5 " ,
70
70
"type" : " tarball" ,
71
- "url" : " https://github.com/NixOS/nixpkgs/archive/32f313e49e42f715491e1ea7b306a87c16fe0388 .tar.gz" ,
71
+ "url" : " https://github.com/NixOS/nixpkgs/archive/647e5c14cbd5067f44ac86b74f014962df460840 .tar.gz" ,
72
72
"url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
73
73
}
74
74
}
Original file line number Diff line number Diff line change 8
8
name = "vibe" ;
9
9
text = "alacritty" ;
10
10
runtimeInputs = with pkgs ; [
11
- ( import ./../pub/vi/nix/default.nix { ai = false ; } )
11
+ ( import ./../pub/vi/nix/default.nix { ai = true ; } )
12
12
fontconfig
13
13
busybox
14
14
curl
Original file line number Diff line number Diff line change 49
49
cp -R ./ $out/
50
50
'' ;
51
51
} ;
52
- vi = neovim . override {
52
+ vi = unst . neovim . override {
53
53
viAlias = true ;
54
54
vimAlias = true ;
55
55
configure = {
108
108
]
109
109
++ (
110
110
if ai
111
- then [ unst . vimPlugins . avante -nvim]
111
+ then [ unst . vimPlugins . minuet-ai -nvim]
112
112
else [ ]
113
113
) ;
114
114
opt = [
Original file line number Diff line number Diff line change @@ -3,3 +3,32 @@ if ok then
3
3
avante_lib .load ()
4
4
require (" avante" ).setup ({provider = " gemini" })
5
5
end
6
+
7
+ local ok , minuet = pcall (require , " minuet" )
8
+ if ok then
9
+ minuet .setup ({
10
+ provider = " gemini" ,
11
+ provider_options = {
12
+ gemini = {
13
+ model = ' gemini-2.0-flash-lite'
14
+ }
15
+ },
16
+ virtualtext = {
17
+ auto_trigger_ft = {},
18
+ keymap = {
19
+ -- accept whole completion
20
+ accept = ' <M-y>' ,
21
+ -- accept one line
22
+ accept_line = ' <M-l>' ,
23
+ -- accept n lines (prompts for number)
24
+ -- e.g. "A-z 2 CR" will accept 2 lines
25
+ accept_n_lines = ' <M-z>' ,
26
+ -- Cycle to prev completion item, or manually invoke completion
27
+ prev = ' <M-p>' ,
28
+ -- Cycle to next completion item, or manually invoke completion
29
+ next = ' <M-n>' ,
30
+ dismiss = ' <M-e>' ,
31
+ },
32
+ }
33
+ })
34
+ end
You can’t perform that action at this time.
0 commit comments