From 240b392614776c936f02ee4a6c9854362f2710d8 Mon Sep 17 00:00:00 2001 From: D4yvid Date: Wed, 26 Oct 2022 09:46:17 -0300 Subject: [PATCH] Update autoload/lsp/options.vim --- autoload/lsp/diag.vim | 6 +++++- autoload/lsp/options.vim | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/autoload/lsp/diag.vim b/autoload/lsp/diag.vim index 01c56da..f6fc948 100644 --- a/autoload/lsp/diag.vim +++ b/autoload/lsp/diag.vim @@ -202,7 +202,11 @@ export def ShowCurrentDiag(lspserver: dict) util.WarnMsg('No diagnostic messages found for current line') else if opt.lspOptions.showDiagInPopup - popup_atcursor(diag.message, { moved: 'any' }) + popup_atcursor( + diag.message, + { + moved: 'any' + }) else echo diag.message endif diff --git a/autoload/lsp/options.vim b/autoload/lsp/options.vim index 82bf588..cf81bfc 100644 --- a/autoload/lsp/options.vim +++ b/autoload/lsp/options.vim @@ -35,7 +35,7 @@ export var lspOptions: dict = { # Don't print message when a configured language server is missing. ignoreMissingServer: false, # Make diagnostics show in a popup instead of echoing - showDiagInPopup: true + showDiagInPopup: false } # set LSP options from user provided options -- 2.48.1