add autoloads

This commit is contained in:
2025-06-22 22:36:32 +02:00
parent cf727799c2
commit ca60fa910e
8 changed files with 905 additions and 5 deletions

View File

@@ -26,7 +26,7 @@
;;; Code:
(use-package amx
:defer t
:commands amx
:config
(setq amx-save-file (concat user-cache-directory "amx-items")))
@@ -34,7 +34,9 @@
;; valid actions.
(use-package ivy
:delight (ivy-mode "Ivy") ;; \u24BE i
:commands (ivy-mode)
:defer 0.1
:init (require 'ivy-autoloads)
;; Ivy-based interface to standard commands
:bind (("C-s" . swiper)
;; ("C-M-s" . swiper-all)
@@ -53,7 +55,8 @@
)
(use-package ivy-rich
:after (ivy counsel)
:defer 0.1
:init (require 'ivy-rich-autoloads)
:config
(setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line)
;; overwrite to fix error, see https://github.com/Yevgnen/ivy-rich/issues/115#issuecomment-1336951680
@@ -81,7 +84,8 @@
(all-the-icons-ivy-rich-mode 1))
(use-package swiper
:after ivy)
:commands (swiper)
:init (require 'swiper-autoloads))
(use-package counsel
:after ivy