summary refs log tree commit diff stats
path: root/user/modules
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/modules
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/modules')
-rw-r--r--user/modules/tabnine.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/user/modules/tabnine.nix b/user/modules/tabnine.nix
index d9b5c6c6..b8ed3773 100644
--- a/user/modules/tabnine.nix
+++ b/user/modules/tabnine.nix
@@ -71,11 +71,5 @@ in
     programs.emacs.extraPackages = epkgs: [
       epkgs.tabnine
     ];
-    programs.emacs.extraConfig = ''
-      (defun my/override-tabnine-exe-path (&rest args)
-        "${pkgs.tabnine}/bin/TabNine")
-      (with-eval-after-load 'tabnine-core
-        (advice-add 'tabnine--executable-path :override #'my/override-tabnine-exe-path))
-    '';
   };
 }