@@ -1470,7 +1470,7 @@ defmodule ElixirLS.LanguageServer.Server do
14701470 JsonRpc . telemetry (
14711471 "lsp_config" ,
14721472 % {
1473- "elixir_ls.projectDir" => to_string ( Map . has_key? ( settings , "projectDir" ) ) ,
1473+ "elixir_ls.projectDir" => to_string ( Map . get ( settings , "projectDir" , "" ) != "" ) ,
14741474 "elixir_ls.autoBuild" => to_string ( Map . get ( settings , "autoBuild" , true ) ) ,
14751475 "elixir_ls.dialyzerEnabled" => to_string ( Map . get ( settings , "dialyzerEnabled" , true ) ) ,
14761476 "elixir_ls.fetchDeps" => to_string ( Map . get ( settings , "fetchDeps" , false ) ) ,
@@ -1481,8 +1481,8 @@ defmodule ElixirLS.LanguageServer.Server do
14811481 to_string ( Map . get ( settings , "signatureAfterComplete" , true ) ) ,
14821482 "elixir_ls.enableTestLenses" => to_string ( Map . get ( settings , "enableTestLenses" , false ) ) ,
14831483 "elixir_ls.languageServerOverridePath" =>
1484- to_string ( Map . has_key? ( settings , "languageServerOverridePath" ) ) ,
1485- "elixir_ls.envVariables" => to_string ( Map . has_key? ( settings , "envVariables" ) ) ,
1484+ to_string ( Map . get ( settings , "languageServerOverridePath" , "" ) != "" ) ,
1485+ "elixir_ls.envVariables" => to_string ( Map . get ( settings , "envVariables" , % { } ) != % { } ) ,
14861486 "elixir_ls.mixEnv" => to_string ( Map . get ( settings , "mixEnv" , "test" ) ) ,
14871487 "elixir_ls.mixTarget" => to_string ( Map . get ( settings , "mixTarget" , "host" ) ) ,
14881488 "elixir_ls.dialyzerFormat" =>
0 commit comments