From 75afee2155e5480b05781c990b6a1a9f976881eb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 25 Jan 2025 21:31:28 +0100 Subject: emacs: install ultra-scroll --- user/settings/emacs.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'user/settings/emacs.nix') diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index e6114e2a..b5470c96 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -159,6 +159,7 @@ in treesit-grammars.with-all-grammars treesit-auto try + ultra-scroll vc-msg vertico vertico-prescient @@ -169,6 +170,23 @@ in yasnippet-capf ]); overrides = self: super: { + ultra-scroll = self.melpaBuild rec { + pname = "ultra-scroll"; + version = "0.3.1"; + + src = pkgs.fetchFromGitHub { + owner = "jdtsmith"; + repo = pname; + rev = "2e3b9997ae1a469e878feaa0af23a23685a0fbed"; + hash = "sha256-9+3T5tXPRuRtENt/Rr0Ss3LZJlTOwpGePbREqofN2j0="; + }; + + meta = { + homepage = "https://github.com/jdtsmith/ultra-scroll"; + description = "scroll emacs like lightning"; + license = pkgs.lib.licenses.gpl3; + }; + }; apheleia = self.melpaPackages.apheleia.overrideAttrs (old: { patchPhase = '' -- cgit 1.4.1