From 44b2b401907c501aca7e3f7340730406b8c3a1fb Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 16 Mar 2023 00:35:06 +0100 Subject: [PATCH] Fix issue with ltex-ls, filtering params is not what we want here --- helix-term/src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 53fbe37d7..e159cb836 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -1055,7 +1055,7 @@ impl Application { let result: Vec<_> = params .items .iter() - .filter_map(|item| { + .map(|item| { let mut config = language_server.config()?; if let Some(section) = item.section.as_ref() { // for some reason some lsps send an empty string (observed in 'vscode-eslint-language-server')