summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2024-12-12 22:16:52 +0100
committerAlan Pearce2024-12-12 22:16:52 +0100
commit1d1492faf63e7c5f0101bcb66cd769feb737c60d (patch)
tree47be209ac2acdeb63342920577f9b40003876174 /user/emacs/init.el
parent64b978c3caecdb236765ac1636ba6d1864c8ebee (diff)
downloadnixfiles-1d1492faf63e7c5f0101bcb66cd769feb737c60d.tar.lz
nixfiles-1d1492faf63e7c5f0101bcb66cd769feb737c60d.tar.zst
nixfiles-1d1492faf63e7c5f0101bcb66cd769feb737c60d.zip
emacs: use patch to set path to tabnine exe
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 870032ae..56a437bb 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -610,10 +610,8 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 
 (use-package tabnine-core
   :config (progn
-            (setq tabnine-binaries-folder "~/.local/tabnine")
             (with-demoted-errors "TabNine error: %s"
-              (when (tabnine--executable-path)
-                (global-tabnine-mode)))
+              (global-tabnine-mode))
 
             (define-key tabnine-completion-map (kbd "TAB") #'tabnine-accept-completion)
             (define-key tabnine-completion-map (kbd "<tab>") #'tabnine-accept-completion)