mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
fix default for the exlude key
This commit is contained in:
parent
8521f0456f
commit
6ab85cc192
3 changed files with 7 additions and 3 deletions
|
@ -48,9 +48,12 @@ fn main_inner() -> Result<()> {
|
|||
|
||||
let opts = params
|
||||
.initialization_options
|
||||
.and_then(|v| ServerConfig::deserialize(v).ok())
|
||||
.and_then(|v| {
|
||||
ServerConfig::deserialize(v)
|
||||
.map_err(|e| log::error!("failed to deserialize config: {}", e))
|
||||
.ok()
|
||||
})
|
||||
.unwrap_or_default();
|
||||
|
||||
ra_lsp_server::main_loop(workspace_roots, params.capabilities, opts, r, s)
|
||||
})?;
|
||||
log::info!("shutting down IO...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue