summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-03-18 22:25:58 +0100
committerAlan Pearce2025-03-18 22:25:58 +0100
commitbf4221a937ac8dc9f6b560c7f62b96e87ff30cda (patch)
tree5508dcfd5b34b8fb37cf5ecb227fdb88b38a3f9e
parent74747410963ed7015ed876cbcc04987c5e6429da (diff)
downloadnixfiles-bf4221a937ac8dc9f6b560c7f62b96e87ff30cda.tar.lz
nixfiles-bf4221a937ac8dc9f6b560c7f62b96e87ff30cda.tar.zst
nixfiles-bf4221a937ac8dc9f6b560c7f62b96e87ff30cda.zip
emacs: initialise vertico-prescient correctly
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index ecebb3e9..a2a7f5c4 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -321,7 +321,8 @@ The DWIM behaviour of this command is as follows:
 
 (use-package vertico-prescient
   :after prescient
-  :ghook '(vertico-mode-hook))
+  :config (progn
+            (vertico-prescient-mode +1)))
 
 (use-package marginalia
   :general (:keymaps 'minibuffer-local-map