mirror of https://github.com/Flinner/dots.git
feat(emacs): minor haskell and lsp improvements
This commit is contained in:
parent
9d694c4daa
commit
7dbda566e8
|
@ -1416,7 +1416,7 @@ Lsp UI
|
|||
:custom
|
||||
(lsp-ui-peek-always-show t)
|
||||
(lsp-ui-doc-mode t)
|
||||
(lsp-ui-sideline-show-hover t)
|
||||
(lsp-ui-sideline-show-hover nil)
|
||||
;; (lsp-ui-doc-enable nil)
|
||||
:bind
|
||||
(:map lsp-ui-mode-map
|
||||
|
@ -1625,6 +1625,10 @@ Auto format
|
|||
#+end_src
|
||||
|
||||
*** Haskell
|
||||
#+begin_src emacs-lisp
|
||||
(use-package haskell-mode :defer t)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package lsp-haskell
|
||||
:defer t
|
||||
|
@ -1640,8 +1644,8 @@ Auto format
|
|||
(haskell-mode . my/font/pretty-lambdas-haskell)
|
||||
:config
|
||||
(haskell-indentation-mode -1)
|
||||
;; (add-hook 'before-save-hook 'lsp-format-buffer)
|
||||
;; :custom (haskell-stylish-on-save t)
|
||||
(add-hook 'before-save-hook 'lsp-format-buffer)
|
||||
:custom (haskell-stylish-on-save t)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
|
|
Loading…
Reference in New Issue