Re-add flycheck and change lsp-ui options
This commit is contained in:
parent
50a141aba7
commit
c6ea4ef6aa
1 changed files with 11 additions and 2 deletions
13
init.el
13
init.el
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue