aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorchunghha2022-04-27 19:21:20 +0000
committerGitHub2022-04-27 19:21:20 +0000
commit3a398eec56c907f9d0f166e77242eb13ded229bc (patch)
tree4411668f181c0a1ae31b6599a50c196bccd709e6 /helix-lsp
parent2e46961886cb40b45a03a91c59823b0e437a9867 (diff)
fix typos (#2304)
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs
index 47a376bb..aeda16d0 100644
--- a/helix-lsp/src/lib.rs
+++ b/helix-lsp/src/lib.rs
@@ -428,7 +428,7 @@ impl LspProgressMap {
Self::default()
}
- /// Returns a map of all tokens coresponding to the lanaguage server with `id`.
+ /// Returns a map of all tokens corresponding to the language server with `id`.
pub fn progress_map(&self, id: usize) -> Option<&HashMap<lsp::ProgressToken, ProgressStatus>> {
self.0.get(&id)
}
@@ -466,7 +466,7 @@ impl LspProgressMap {
self.0.get_mut(&id).and_then(|vals| vals.remove(token))
}
- /// Updates the progess of `token` for server with `id` to `status`, returns the value replaced or `None`.
+ /// Updates the progress of `token` for server with `id` to `status`, returns the value replaced or `None`.
pub fn update(
&mut self,
id: usize,