Fix issue with ltex-ls, filtering params is not what we want here

pull/2507/head
Philipp Mildenberger 2023-03-16 00:35:06 +01:00
parent 05583f8cc9
commit 44b2b40190
1 changed files with 1 additions and 1 deletions

View File

@ -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')