File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
crates/emmylua_ls/src/handlers/initialized/client_config Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 44
55` CHG ` refactor ` template system ` , optimize the generic infer
66
7+ ` FIX ` now configurations are loaded properly in NeoVim in cases when no extra LSP configuration parameters are provided
8+
79# 0.3.3
810
911` NEW ` Add Develop Guide
Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ pub async fn get_client_config_neovim(
2121 let cancel_token = time_cancel_token ( Duration :: from_secs ( 5 ) ) ;
2222 let configs = client
2323 . get_configuration :: < Value > ( params, cancel_token)
24- . await ?;
24+ . await ?
25+ . into_iter ( )
26+ . filter ( |config| !config. is_null ( ) )
27+ . collect ( ) ;
2528
2629 if let Some ( pretty_json) = serde_json:: to_string_pretty ( & configs) . ok ( ) {
2730 info ! ( "load neovim client config: {}" , pretty_json) ;
You can’t perform that action at this time.
0 commit comments