diff options
Diffstat (limited to 'lisp/ravi-init-vc.el')
| -rw-r--r-- | lisp/ravi-init-vc.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ravi-init-vc.el b/lisp/ravi-init-vc.el index 543a682..4fcb491 100644 --- a/lisp/ravi-init-vc.el +++ b/lisp/ravi-init-vc.el @@ -48,9 +48,11 @@ (setq-default magit-process-popup-time 10 magit-diff-refine-hunk t - magit-completing-read-function (if ravi/use-helm-instead-of-ido - 'helm--completing-read-default - 'magit-ido-completing-read)) + magit-completing-read-function (pcase ravi/use-selection-system + ('helm #'helm--completing-read-default) + ('ido #'magit-ido-completing-read) + ('selectrum #'selectrum-completing-read) + (_ #'magit-builtin-completing-read))) (setq magit-restore-window-configuration t) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) |
