optimize package loading

This commit is contained in:
2022-12-18 19:32:54 +01:00
parent cbc480386c
commit 7b477d19fa
23 changed files with 3 additions and 42 deletions

View File

@@ -33,7 +33,6 @@
;; in an ivy action minibuffer use M-o `ivy-dispatching-done' to see
;; valid actions.
(use-package ivy
:load-path (lambda() (concat config-dir "lisp/ivy"))
:delight (ivy-mode "Ivy") ;; \u24BE i
:defer 0.1
;; Ivy-based interface to standard commands
@@ -125,7 +124,6 @@ of `menu-bar-final-items'."
;;(setq tab-always-indent 'complete) ;; use 'complete when auto-complete is disabled
(use-package company
:load-path (lambda() (concat config-dir "lisp/company"))
:delight (company-mode "Co") ;; \u24B8 c
;;:bind (("C-M-i" . company-complete))
:bind (([remap completion-at-point] . company-complete)
@@ -234,7 +232,6 @@ Possible PACKAGE values are `company'."
'(yas-popup-isearch-prompt yas-maybe-ido-prompt yas-completing-prompt yas-no-prompt)))
(use-package yasnippet-snippets
:load-path (lambda() (concat config-dir "lisp/yasnippet-snippets"))
:after (yasnippet)
:defer 1)