[Emacs] LSP updates, activate for haskell-mode
This commit is contained in:
parent
dc616e0d6e
commit
a33382da61
@ -2825,8 +2825,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lsp-haskell
|
(use-package lsp-haskell
|
||||||
:config
|
:config
|
||||||
(when (executable-find "hie")
|
(add-hook 'haskell-mode-hook 'lsp))
|
||||||
(add-hook 'haskell-mode-hook 'lsp-haskell-enable)))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** intero
|
**** intero
|
||||||
Intero seems to be causing hangs, so it has been disabled
|
Intero seems to be causing hangs, so it has been disabled
|
||||||
@ -3975,9 +3974,12 @@ emr (emacs refactor) provides support for refactoring in many programming langua
|
|||||||
** language-server-protocol (lsp)
|
** language-server-protocol (lsp)
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands lsp-mode
|
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(setq lsp-prefer-flymake nil)
|
||||||
|
(use-package lsp-ui
|
||||||
|
:config
|
||||||
|
(add-hook 'lsp-mode-hook 'lsp-ui-mode))
|
||||||
(require 'lsp-clients)
|
(require 'lsp-clients)
|
||||||
(add-hook 'programming-mode-hook 'lsp)))
|
(add-hook 'programming-mode-hook 'lsp)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user