TabNine: configure coc
Alan Pearce alan@alanpearce.eu
Sat, 12 Dec 2020 21:49:01 +0100
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M user/settings/tabnine.nix → user/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"; }; }