Skip to content

Commit 3e8f44c

Browse files
committed
chore(blink): Add codecompanion as source
1 parent c86b3dd commit 3e8f44c

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

config/languages/blink.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
friendly-snippets.enable = true;
99
setupOpts = {
1010
fuzzy = {
11-
implementation = "prefer_rust";
11+
implementation = "rust";
1212
prebuilt_binaries = {
1313
download = false;
1414
};
@@ -25,7 +25,7 @@
2525
"<Enter>" = [
2626
"accept"
2727
"fallback"
28-
];
28+
];
2929
"<S-Tab>" = [
3030
"select_prev"
3131
"fallback"
@@ -96,6 +96,8 @@
9696
"lsp"
9797
"path"
9898
"buffer"
99+
"snippets"
100+
(lib.mkIf config'.agent.enable "codecompanion")
99101
];
100102
providers = {
101103
lsp = {

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
orig @ {lib, ...}: let
1515
config' = {
1616
lsp.special.useAngular = true;
17+
agent = {
18+
enable = true;
19+
};
1720
};
1821
in {
1922
imports = [

0 commit comments

Comments
 (0)