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
|
:custom
|
||||||
(lsp-ui-peek-always-show t)
|
(lsp-ui-peek-always-show t)
|
||||||
(lsp-ui-doc-mode t)
|
(lsp-ui-doc-mode t)
|
||||||
(lsp-ui-sideline-show-hover t)
|
(lsp-ui-sideline-show-hover nil)
|
||||||
;; (lsp-ui-doc-enable nil)
|
;; (lsp-ui-doc-enable nil)
|
||||||
:bind
|
:bind
|
||||||
(:map lsp-ui-mode-map
|
(:map lsp-ui-mode-map
|
||||||
|
@ -1625,6 +1625,10 @@ Auto format
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Haskell
|
*** Haskell
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package haskell-mode :defer t)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package lsp-haskell
|
(use-package lsp-haskell
|
||||||
:defer t
|
:defer t
|
||||||
|
@ -1640,8 +1644,8 @@ Auto format
|
||||||
(haskell-mode . my/font/pretty-lambdas-haskell)
|
(haskell-mode . my/font/pretty-lambdas-haskell)
|
||||||
:config
|
:config
|
||||||
(haskell-indentation-mode -1)
|
(haskell-indentation-mode -1)
|
||||||
;; (add-hook 'before-save-hook 'lsp-format-buffer)
|
(add-hook 'before-save-hook 'lsp-format-buffer)
|
||||||
;; :custom (haskell-stylish-on-save t)
|
:custom (haskell-stylish-on-save t)
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue