Introduce a LanguageServerId wrapper type
Clarify the meaning of all the usizes in use in all of these struct fields an method signatures.
This commit is contained in:
parent
c5f86bc6af
commit
4dd917c123
16 changed files with 166 additions and 117 deletions
|
@ -22,6 +22,7 @@ use language::{
|
|||
LanguageConfig, OffsetRangeExt, Point, Rope,
|
||||
};
|
||||
use live_kit_client::MacOSDisplay;
|
||||
use lsp::LanguageServerId;
|
||||
use project::{search::SearchQuery, DiagnosticSummary, Project, ProjectPath};
|
||||
use rand::prelude::*;
|
||||
use serde_json::json;
|
||||
|
@ -3477,7 +3478,7 @@ async fn test_collaborating_with_diagnostics(
|
|||
worktree_id,
|
||||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
0,
|
||||
LanguageServerId(0),
|
||||
DiagnosticSummary {
|
||||
error_count: 1,
|
||||
warning_count: 0,
|
||||
|
@ -3513,7 +3514,7 @@ async fn test_collaborating_with_diagnostics(
|
|||
worktree_id,
|
||||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
0,
|
||||
LanguageServerId(0),
|
||||
DiagnosticSummary {
|
||||
error_count: 1,
|
||||
warning_count: 0,
|
||||
|
@ -3554,7 +3555,7 @@ async fn test_collaborating_with_diagnostics(
|
|||
worktree_id,
|
||||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
0,
|
||||
LanguageServerId(0),
|
||||
DiagnosticSummary {
|
||||
error_count: 1,
|
||||
warning_count: 1,
|
||||
|
@ -3570,7 +3571,7 @@ async fn test_collaborating_with_diagnostics(
|
|||
worktree_id,
|
||||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
0,
|
||||
LanguageServerId(0),
|
||||
DiagnosticSummary {
|
||||
error_count: 1,
|
||||
warning_count: 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue