all repos — nixfiles @ da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3

System and user configuration, managed by nix and home-manager

TabNine: configure coc
Alan Pearce alan@alanpearce.eu
Sat, 12 Dec 2020 21:49:01 +0100
commit

da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3

parent

f27988541113da203ec30121b4e046f1b2b7e320

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M user/settings/tabnine.nixuser/settings/tabnine.nix
@@ -1,4 +1,4 @@-{ pkgs, ... }:
+{ config, pkgs, ... }:
 
 let
   inherit (pkgs) stdenv;
@@ -99,5 +99,8 @@ "174dsbdah99576g0g31402bdb02lfnq7sbac4i9g69alklbrghxd"       else
         "0lh770gjxlgx01rb8qn079nf04qs3nirahzsld1ga5v3l16wqvqh";
     });
+  };
+  programs.neovim.coc.config = {
+    "tabnine.binary_path" = "${config.home.sessionVariables.XDG_DATA_HOME}/tabnine/${version}/${target}/TabNine";
   };
 }