diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 514ff6bb..90c2fba3 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1030,6 +1030,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq treemacs-no-png-images t))) (use-package tree-sitter + :defer 30 :init (defvar tree-sitter-langs--testing t) ; do not install grammars (nix does that) :ghook ('(sh-mode-hook c-mode-common-hook @@ -1054,6 +1055,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (defun project-name (project) (file-name-base (cdr project)))) (use-package eglot + :defer 30 :general (:states 'normal :keymaps 'eglot-mode-map "gd" #'xref-find-definitions "gr" #'xref-find-references @@ -1097,6 +1099,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve ;;;; Reformat on save (use-package format-all + :defer 10 :ghook ('(css-mode-hook clojure-mode-hook dockerfile-mode-hook @@ -1118,6 +1121,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq format-all-show-errors 'never))) (use-package apheleia + :defer 10 :config (progn (setf (alist-get 'shfmt apheleia-formatters) '("shfmt")) |