diff options
author | Alan Pearce | 2020-12-12 21:45:43 +0100 |
---|---|---|
committer | Alan Pearce | 2020-12-12 21:45:43 +0100 |
commit | 35c5fef705308b8278f9e3135fd5aa919d9e0497 (patch) | |
tree | f632ba8fb9f17dbcece0201e1b8d7cc036619563 | |
parent | 8a53d19865fbe8b6ce7bc4c0d40e9a65909cb4bf (diff) | |
download | nixfiles-35c5fef705308b8278f9e3135fd5aa919d9e0497.tar.lz nixfiles-35c5fef705308b8278f9e3135fd5aa919d9e0497.tar.zst nixfiles-35c5fef705308b8278f9e3135fd5aa919d9e0497.zip |
TabNine: move binaries to XDG data directory
-rw-r--r-- | user/emacs/init.el | 2 | ||||
-rw-r--r-- | user/settings/tabnine.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index f55a7a71..517670e2 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -519,7 +519,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (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 diff --git a/user/settings/tabnine.nix b/user/settings/tabnine.nix index b9382b65..3417e336 100644 --- a/user/settings/tabnine.nix +++ b/user/settings/tabnine.nix @@ -90,7 +90,7 @@ in { }; }; - 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"; |