Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <[email protected]>
  • Loading branch information
He1pa committed Aug 21, 2024
1 parent 8f4a610 commit 9f927d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kclvm/tools/src/LSP/src/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub type DocumentVersion = i32;
#[derive(Default)]
pub struct Analysis {
pub db: Arc<RwLock<HashMap<FileId, Option<Arc<AnalysisDatabase>>>>>,
pub workspaecs: Arc<RwLock<HashMap<WorkSpaceKind, Option<Arc<AnalysisDatabase>>>>>,
pub workspaces: Arc<RwLock<HashMap<WorkSpaceKind, Option<Arc<AnalysisDatabase>>>>>,
}

/// AnalysisDatabase holds the result of the compile
Expand Down
2 changes: 1 addition & 1 deletion kclvm/tools/src/LSP/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ impl LanguageServerState {
entry_cache: self.entry_cache.clone(),
tool: self.tool.clone(),
request_retry: self.request_retry.clone(),
workspaces: self.analysis.workspaecs.clone(),
workspaces: self.analysis.workspaces.clone(),
}
}

Expand Down

0 comments on commit 9f927d0

Please sign in to comment.