[Emacs] Use lsp-deferred for lsp startup
This commit is contained in:
parent
e1c73487f4
commit
4ea0244ccc
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# -*- mode: org; -*-
|
# -*- mode: org; -*-
|
||||||
[[https://travis-ci.org/IvanMalison/dotfiles][file:https://travis-ci.org/IvanMalison/dotfiles.svg?branch=master]]
|
[[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 '("-")))
|
haskell-mode-stylish-haskell-args '("-")))
|
||||||
(message "imalison:use-lsp-haskell: %s" imalison:use-lsp-haskell)
|
(message "imalison:use-lsp-haskell: %s" imalison:use-lsp-haskell)
|
||||||
(when imalison:use-lsp-haskell
|
(when imalison:use-lsp-haskell
|
||||||
(lsp)))
|
(use-package lsp-haskell)
|
||||||
|
(lsp-deferred)))
|
||||||
(add-hook 'haskell-mode-hook 'imalison:haskell-mode))
|
(add-hook 'haskell-mode-hook 'imalison:haskell-mode))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
Loading…
Reference in New Issue
Block a user