mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
I finally resolved the lsp-mode bug I had whenever I tried vertico in the past. It was due to me setting resize-mini-windows instead of vertico-resize.
36 lines
823 B
EmacsLisp
36 lines
823 B
EmacsLisp
;;; siren-vertico.el --- jimeh's Emacs Siren: vertico configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for vertico.
|
|
|
|
;;; Code:
|
|
|
|
(use-package vertico
|
|
:custom
|
|
(vertico-count 16)
|
|
(vertico-cycle t)
|
|
(vertico-resize nil)
|
|
|
|
(enable-recursive-minibuffers t)
|
|
(read-extended-command-predicate #'command-completion-default-include-p)
|
|
|
|
:init
|
|
(defun siren-crm-indicator (args)
|
|
(cons (concat "[CRM] " (car args)) (cdr args)))
|
|
|
|
:config
|
|
(vertico-mode +1)
|
|
(advice-add #'completing-read-multiple :filter-args #'siren-crm-indicator))
|
|
|
|
(use-package vertico-extensions
|
|
:straight (:type git :host github :repo "emacs-straight/vertico"
|
|
:files ("extensions/*.el"))
|
|
:after vertico
|
|
:ensure nil
|
|
:bind
|
|
("C-c C-v" . vertico-restore))
|
|
|
|
(provide 'siren-vertico)
|
|
;;; siren-vertico.el ends here
|