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

This commit is contained in:
Philipp Mildenberger 2023-03-16 00:35:06 +01:00
parent 05583f8cc9
commit 44b2b40190

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