Re-add flycheck and change lsp-ui options

This commit is contained in:
Dimitri Lozeve 2022-05-18 15:38:11 +02:00
parent 50a141aba7
commit c6ea4ef6aa

13
init.el
View file

@ -281,6 +281,10 @@
(use-package terraform-mode (use-package terraform-mode
:straight t) :straight t)
(use-package flycheck
:straight t
:init (global-flycheck-mode))
(use-package flyspell (use-package flyspell
:config :config
(setq ispell-program-name "hunspell") (setq ispell-program-name "hunspell")
@ -328,8 +332,13 @@
:commands lsp-ui-mode :commands lsp-ui-mode
:straight t :straight t
:config :config
(setq lsp-ui-sideline-show-hover nil) (setq lsp-ui-sideline-show-diagnostics t
(setq lsp-ui-doc-position 'top)) lsp-ui-sideline-show-code-actions t
lsp-ui-sideline-show-hover nil)
(setq lsp-ui-doc-enable t
lsp-ui-doc-position 'top
lsp-ui-doc-show-with-mouse t
lsp-ui-doc-show-with-cursor t))
(use-package haskell-mode (use-package haskell-mode
:straight t) :straight t)