Fix VS Code detection for Insiders version
This commit is contained in:
parent
954fb1d673
commit
094cecd3bd
@ -193,7 +193,7 @@ fn run_server() -> anyhow::Result<()> {
|
||||
let mut is_visual_studio_code = false;
|
||||
if let Some(client_info) = client_info {
|
||||
tracing::info!("Client '{}' {}", client_info.name, client_info.version.unwrap_or_default());
|
||||
is_visual_studio_code = client_info.name == "Visual Studio Code";
|
||||
is_visual_studio_code = client_info.name.starts_with("Visual Studio Code");
|
||||
}
|
||||
|
||||
let workspace_roots = workspace_folders
|
||||
|
Loading…
x
Reference in New Issue
Block a user