aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-12 09:25:46 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-12 09:38:29 -0700
commit633bae7fe0a54c78b4d66177b90cbbbd07655100 (patch)
tree47b02c3ced97b56b39ade448c055d5c12a66ed74 /.emacs.d/rul-lisp/packages
parent0e3dccbe05aedd4fb5a7afb677324e773458655b (diff)
emacs: defer loading of rust and blacken
Diffstat (limited to '.emacs.d/rul-lisp/packages')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-prog.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-prog.el b/.emacs.d/rul-lisp/packages/rul-prog.el
index 8525883..e7753a2 100644
--- a/.emacs.d/rul-lisp/packages/rul-prog.el
+++ b/.emacs.d/rul-lisp/packages/rul-prog.el
@@ -8,7 +8,7 @@
read-process-output-max (* 1024 1024))
;; Python
-(use-package blacken :ensure t)
+(use-package blacken :ensure t :defer t)
;; Terraform
(use-package terraform-mode :ensure t :defer t)
@@ -18,9 +18,11 @@
;; Rust
(use-package rust-mode
+ :defer t
:init
- (setq rust-mode-treesitter-derive t))
-
-(add-hook 'rust-mode-hook 'eglot-ensure)
+ (setq rust-mode-treesitter-derive t)
+ :config
+ (add-hook 'rust-mode-hook 'eglot-ensure)
+ )
(provide 'rul-prog)
nihil fit ex nihilo