From 4ea0244ccca53fa71b236931b4efc3a97fcb9a71 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 2 Aug 2021 00:30:53 -0600 Subject: [PATCH] [Emacs] Use lsp-deferred for lsp startup --- dotfiles/emacs.d/README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index b3b4a360..9dee0074 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1,4 +1,3 @@ - # -*- mode: org; -*- [[https://travis-ci.org/IvanMalison/dotfiles][file:https://travis-ci.org/IvanMalison/dotfiles.svg?branch=master]] @@ -2821,7 +2820,8 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877 haskell-mode-stylish-haskell-args '("-"))) (message "imalison:use-lsp-haskell: %s" imalison:use-lsp-haskell) (when imalison:use-lsp-haskell - (lsp))) + (use-package lsp-haskell) + (lsp-deferred))) (add-hook 'haskell-mode-hook 'imalison:haskell-mode)) :config (progn