From da4ca6b6bbd5fbb1cb8ace75270e4a687f3420e3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 12 Dec 2020 21:49:01 +0100 Subject: TabNine: configure coc --- user/settings/tabnine.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'user/settings') 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"; + }; } -- cgit 1.4.1