summary refs log tree commit diff stats
path: root/user/overlays
diff options
context:
space:
mode:
authorAlan Pearce2023-04-23 22:38:24 +0200
committerAlan Pearce2023-04-30 19:38:15 +0200
commitdb728f16997c045162041920e359666dc413ea00 (patch)
tree6b55c582378c527dcef8093adf701baa08f0fa0f /user/overlays
parent215ad38f56fd49904c20af0d38233fc61d4d51ba (diff)
downloadnixfiles-db728f16997c045162041920e359666dc413ea00.tar.lz
nixfiles-db728f16997c045162041920e359666dc413ea00.tar.zst
nixfiles-db728f16997c045162041920e359666dc413ea00.zip
emacs: replace company-tabnine with tabnine-capf
Diffstat (limited to 'user/overlays')
-rw-r--r--user/overlays/extra-packages.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/overlays/extra-packages.nix b/user/overlays/extra-packages.nix
index 7566548c..67867830 100644
--- a/user/overlays/extra-packages.nix
+++ b/user/overlays/extra-packages.nix
@@ -1,3 +1,13 @@
 self: super: {
   lumen = super.callPackage ../packages/lumen { };
+  emacsPackagesFor = emacs: (
+    (super.emacsPackagesFor emacs).overrideScope' (
+      eself: esuper:
+        esuper // {
+          tabnine-capf = super.callPackage ../packages/tabnine-capf.nix {
+            inherit eself;
+          };
+        }
+    )
+  );
 }