From bde154fd12c72120d56f72dbc320e9b72b06a945 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Thu, 9 Apr 2020 14:55:38 +0200 Subject: [PATCH] Fix lsp-mode signature/eldoc config --- modules/programming.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/programming.el b/modules/programming.el index a0280ef..d41632a 100644 --- a/modules/programming.el +++ b/modules/programming.el @@ -298,16 +298,19 @@ (use-package lsp-mode :commands lsp + :init + (setq lsp-diagnostic-package :flycheck + lsp-flycheck-live-reporting nil + lsp-signature-auto-activate t + lsp-signature-doc-lines 1 + lsp-enable-indentation nil) :config - (require 'lsp-clients) - (setq lsp-enable-indentation nil)) + (require 'lsp-clients)) (use-package lsp-ui :commands lsp-ui-mode :init (setq lsp-ui-doc-enable nil - lsp-diagnostic-package :flycheck - lsp-flycheck-live-reporting nil lsp-ui-sideline-enable nil) :config (define-key lsp-ui-mode-map