From c6ea4ef6aa304af66a6a079adf2a6b337e15f391 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Wed, 18 May 2022 15:38:11 +0200 Subject: [PATCH] Re-add flycheck and change lsp-ui options --- init.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index e5741b6..5f489d5 100644 --- a/init.el +++ b/init.el @@ -281,6 +281,10 @@ (use-package terraform-mode :straight t) +(use-package flycheck + :straight t + :init (global-flycheck-mode)) + (use-package flyspell :config (setq ispell-program-name "hunspell") @@ -328,8 +332,13 @@ :commands lsp-ui-mode :straight t :config - (setq lsp-ui-sideline-show-hover nil) - (setq lsp-ui-doc-position 'top)) + (setq lsp-ui-sideline-show-diagnostics t + 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 :straight t)