[Emacs] Use lsp-deferred for lsp startup

This commit is contained in:
Ivan Malison 2021-08-02 00:30:53 -06:00
parent e1c73487f4
commit 4ea0244ccc
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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