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

pull/2507/head
Philipp Mildenberger 2 years ago
parent 05583f8cc9
commit 44b2b40190

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

Loading…
Cancel
Save