summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/tabnine.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/settings/tabnine.nix b/user/settings/tabnine.nix
index 3417e336..4f9577e7 100644
--- a/user/settings/tabnine.nix
+++ b/user/settings/tabnine.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ config, pkgs, ... }:
 
 let
   inherit (pkgs) stdenv;
@@ -100,4 +100,7 @@ in {
         "0lh770gjxlgx01rb8qn079nf04qs3nirahzsld1ga5v3l16wqvqh";
     });
   };
+  programs.neovim.coc.config = {
+    "tabnine.binary_path" = "${config.home.sessionVariables.XDG_DATA_HOME}/tabnine/${version}/${target}/TabNine";
+  };
 }