about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-completion.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-19 14:14:23 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-19 14:14:23 +0100
commita8809652e5aa7fab353de7e6833c30b230778d04 (patch)
tree34806dc845dc275235ffc1486a3db10e895d24d6 /.emacs.d/lisp/init-completion.el
parent42ecf5d5216d0c8c70b6507b166ebecdb3c2c0df (diff)
parent4e42bc78c6f60b4c2526d8996c01da666320ae43 (diff)
downloaddotfiles-a8809652e5aa7fab353de7e6833c30b230778d04.tar.gz
Merge
Diffstat (limited to '.emacs.d/lisp/init-completion.el')
-rw-r--r--.emacs.d/lisp/init-completion.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el
index 84d558e..b034405 100644
--- a/.emacs.d/lisp/init-completion.el
+++ b/.emacs.d/lisp/init-completion.el
@@ -1,4 +1,4 @@
-;;; init-completion.el --- Commpletion Configuration File -*- lexical-binding: t -*-
+;;; init-completion.el --- Completion Configuration File -*- lexical-binding: t -*-
 ;;; Commentary:
 ;; Config for completion-at-point (corfu) and minibuffer (vertico, embark, consult, etc)
 ;;; Code:
@@ -157,7 +157,7 @@
 ;; See init-packages.el for fetching of Vertico Extenions
 ;; Required extensions must be in the vertico-extensions var
 (use-package vertico-directory
-  :load-path "site-lisp/vertico-extensions/vertico-directory.el"
+  :load-path vertico-extensions-dir
   :bind (:map vertico-map
               ("RET" . vertico-directory-enter)
               ;("/" . vertico-directory-enter)
@@ -167,7 +167,7 @@
   :hook (rfn-eshadow-update-overlay . vertico-directory-tidy))
 
 (use-package vertico-repeat
-  :load-path "site-lisp/vertico-extensions/vertico-repeat.el"
+  :load-path vertico-extensions-dir
   :bind ("M-P" . vertico-repeat))
 
 (use-package consult
@@ -341,7 +341,9 @@
   (add-to-list 'marginalia-prompt-categories '("Switch to project" . file))
   (add-to-list 'marginalia-prompt-categories '("Find file" . project-file))
   (add-to-list 'marginalia-prompt-categories '("Recently visited files" . project-file))
-  (add-to-list 'marginalia-prompt-categories '("Switch to buffer" . buffer)))
+  (add-to-list 'marginalia-prompt-categories '("Switch to buffer" . buffer))
+  ;; For Crux
+  (add-to-list 'marginalia-prompt-categories '("Choose recent file" . file)))
 
 (use-package embark
   :bind