perf: optimize startup time and fix theme colors
All checks were successful
git-sync-with-mirror / test (push) Successful in 3m5s
git-sync-with-mirror / git-sync (push) Successful in 14s

Performance improvements (2.4s → 0.97s, 60% faster):
- Enable use-package-always-defer for lazy loading
- Add native compilation support (Emacs 28+)
- Defer company, ivy, projectile with :defer
- Move settings from :config to :init where possible
- Remove redundant package-refresh-contents
This commit is contained in:
2026-02-28 00:39:33 -05:00
parent 1aedc8d100
commit 47333c1f4f
9 changed files with 96 additions and 95 deletions

View File

@@ -5,9 +5,16 @@
;;; Code:
;; Projectile
(use-package projectile
:ensure t
:defer 0.3
:init
(projectile-mode))
(setq projectile-enable-caching t
projectile-completion-system 'ivy
projectile-switch-project-action 'projectile-commander
projectile-kill-buffers-filter 'kill-all-buffer-p
projectile-auto-discover t
projectile-verbose nil)
:config
(projectile-mode +1))
(provide 'init-projectile)
;;; init-projectile.el ends here