all repos — nixfiles @ 35c5fef705308b8278f9e3135fd5aa919d9e0497

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

TabNine: move binaries to XDG data directory

Alan Pearce
commit

35c5fef705308b8278f9e3135fd5aa919d9e0497

parent

8a53d19865fbe8b6ce7bc4c0d40e9a65909cb4bf

2 files changed, 2 insertions(+), 2 deletions(-)

changed files
M user/emacs/init.eluser/emacs/init.el
@@ -519,7 +519,7 @@
(use-package company-tabnine :commands (company-tabnine) :after (company) - :config (setq company-tabnine-binaries-folder "~/.local/tabnine") + :config (setq company-tabnine-binaries-folder "~/.local/share/tabnine") :general ("<M-tab>" #'company-tabnine-call-other-backends "<C-tab>" #'company-tabnine-call-other-backends) :init (progn
M user/settings/tabnine.nixuser/settings/tabnine.nix
@@ -90,7 +90,7 @@ };
}; }; - home.file.".local/tabnine/${version}/${target}/TabNine" = { + xdg.dataFile."/tabnine/${version}/${target}/TabNine" = { executable = true; source = (pkgs.fetchurl { url = "https://update.tabnine.com/${version}/${target}/TabNine";