From 98963f4e1a9e13c0b96496ab84bf20195b956971 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 28 Jul 2023 00:06:28 -0600 Subject: [PATCH] [Emacs] Defer some startup items --- dotfiles/emacs.d/README.org | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index d73a38af..e8d312ec 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2953,11 +2953,14 @@ Intero seems to be causing hangs, so it has been disabled #+END_SRC *** kotlin #+BEGIN_SRC emacs-lisp -(use-package kotlin-mode) +(use-package kotlin-mode + :defer t + :mode ("\\.kt\\'")) #+END_SRC *** vala #+BEGIN_SRC emacs-lisp -(use-package vala-mode) +(use-package vala-mode + :disabled t) #+END_SRC *** lua #+BEGIN_SRC emacs-lisp @@ -3790,6 +3793,7 @@ alphanumeric characters only." #+BEGIN_SRC emacs-lisp (use-package markdown-mode :defer t + :mode ("\\.md\\'") :init (progn (add-hook 'markdown-mode-hook 'imalison:disable-linum-mode))) @@ -4044,6 +4048,8 @@ emr (emacs refactor) provides support for refactoring in many programming langua ** language-server-protocol (lsp) #+BEGIN_SRC emacs-lisp (use-package lsp-mode + :defer 3 + :commands lsp :config (progn (defun imalison:nix-develop-lsp-wrapper-function (argv)