summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el16
1 files changed, 9 insertions, 7 deletions
diff --git a/init.el b/init.el index 4395c64..86e1d82 100644 --- a/init.el +++ b/init.el
@@ -1357,13 +1357,15 @@ if ripgrep is installed, otherwise `consult-grep'."
1357 (vertico-mouse-mode +1) 1357 (vertico-mouse-mode +1)
1358 1358
1359 ;; Workarounds! 1359 ;; Workarounds!
1360 (when (version< org-version "9.5") 1360 ;; (with-eval-after-load 'org
1361 (defun disable-selection () 1361 ;; (when (version< org-version "9.5")
1362 (when (eq minibuffer-completion-table #'org-tags-completion-function) 1362 ;; (defun disable-selection ()
1363 (setq-local vertico-map minibuffer-local-completion-map 1363 ;; (when (eq minibuffer-completion-table #'org-tags-completion-function)
1364 completion-cycle-threshold nil 1364 ;; (setq-local vertico-map minibuffer-local-completion-map
1365 completion-styles '(basic)))) 1365 ;; completion-cycle-threshold nil
1366 (advice-add #'vertico--setup :before #'disable-selection))) 1366 ;; completion-styles '(basic))))
1367 ;; (advice-add #'vertico--setup :before #'disable-selection)))
1368 )
1367 1369
1368(setup (:straight vuiet) 1370(setup (:straight vuiet)
1369 (:needs "youtube-dl" 1371 (:needs "youtube-dl"