Created
June 2, 2019 18:24
-
-
Save zeta-00/a48659903b46a16202fa06bdc989e46c to your computer and use it in GitHub Desktop.
hie lsp .emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; language server protocol | |
(setq lsp-document-sync-method 'full) | |
(require 'lsp-mode) | |
(require 'lsp-ui) | |
(add-hook 'lsp-mode-hook 'lsp-ui-mode) | |
(add-hook 'haskell-mode-hook 'flycheck-mode) | |
(require 'lsp) | |
(require 'lsp-haskell) | |
(add-hook 'haskell-mode-hook #'lsp) | |
;; (add-hook 'haskell-mode-hook 'direnv-update-environment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment