Add Haskell LSP config
This commit is contained in:
parent
d395fa2a44
commit
718774b97e
1 changed files with 9 additions and 0 deletions
9
init.el
9
init.el
|
@ -340,6 +340,15 @@
|
||||||
(setq lsp-ui-sideline-show-hover nil)
|
(setq lsp-ui-sideline-show-hover nil)
|
||||||
(setq lsp-ui-doc-position 'top))
|
(setq lsp-ui-doc-position 'top))
|
||||||
|
|
||||||
|
(use-package haskell-mode
|
||||||
|
:straight t)
|
||||||
|
|
||||||
|
(use-package lsp-haskell
|
||||||
|
:straight t
|
||||||
|
:after haskell-mode
|
||||||
|
:hook ((haskell-mode . lsp)
|
||||||
|
(haskell-literate-mode . lsp)))
|
||||||
|
|
||||||
(use-package lsp-pyright
|
(use-package lsp-pyright
|
||||||
:straight t
|
:straight t
|
||||||
:hook (python-mode . (lambda ()
|
:hook (python-mode . (lambda ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue