summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2020-12-12 21:49:01 +0100
committerAlan Pearce2020-12-12 21:49:01 +0100
commitda4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3 (patch)
tree122e171679ca7584d1e5a3a14621070deb030cd4 /user/settings
parentf27988541113da203ec30121b4e046f1b2b7e320 (diff)
downloadnixfiles-da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3.tar.lz
nixfiles-da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3.tar.zst
nixfiles-da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3.zip
TabNine: configure coc
Diffstat (limited to 'user/settings')
-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";
+  };
 }