From b650fde62cdef9adb55db636ce16aa2120277d55 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Sep 2023 16:37:35 +0200 Subject: Emacs: replace company-tabnine with tabnine --- user/modules/tabnine.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user/modules') diff --git a/user/modules/tabnine.nix b/user/modules/tabnine.nix index e4b80ad9..a702cf29 100644 --- a/user/modules/tabnine.nix +++ b/user/modules/tabnine.nix @@ -81,11 +81,11 @@ in }; programs.emacs.extraPackages = epkgs: [ - epkgs.company-tabnine + epkgs.tabnine ]; programs.emacs.extraConfig = '' - (with-eval-after-load 'company-tabnine - (advice-add 'company-tabnine--executable-path :around + (with-eval-after-load 'tabnine + (advice-add 'tabnine--executable-path :around (lambda (original-function &rest args) "${pkgs.tabnine}/bin/TabNine"))) ''; -- cgit 1.4.1