about summary refs log tree commit diff
path: root/overlays
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-03 18:07:11 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-03 18:09:10 +0100
commite8ada70080ac8ecf80c134972d8dca5307f0e494 (patch)
tree171e6c3c199669d48395a915326af94b4380ec1e /overlays
parentDotfiles: Emacs: C/C++ support (diff)
downloadnixos-config-e8ada70080ac8ecf80c134972d8dca5307f0e494.tar.gz
nixos-config-e8ada70080ac8ecf80c134972d8dca5307f0e494.tar.bz2
nixos-config-e8ada70080ac8ecf80c134972d8dca5307f0e494.zip
Emacs: Use lsp-bridge
Faster than lsp-mode, but not yet in nixpkgs
Diffstat (limited to 'overlays')
-rw-r--r--overlays/base/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlays/base/default.nix b/overlays/base/default.nix
index 2f021c7..b97401b 100644
--- a/overlays/base/default.nix
+++ b/overlays/base/default.nix
@@ -81,4 +81,8 @@ final: prev:
     scripts = [ prev.mpvScripts.mpris ];
   };
 
+  emacsPackagesFor = emacs: ((prev.emacsPackagesFor emacs).overrideScope' (prev: final: rec {
+    manualPackages = final.manualPackages // { custom.lsp-bridge = prev.callPackage ../../packages/lsp-bridge { }; };
+  }));
+
 }