Skip to content

Commit dce9729

Browse files
TysonAndreautozimu
authored andcommitted
Fix typos in comments/error messages
1 parent 930850b commit dce9729

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/language_server_protocol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ impl LanguageClient {
16311631
}
16321632

16331633
// TODO: proper integration.
1634-
let msg = format!("comletionItem/resolve result not handled: {:?}", result);
1634+
let msg = format!("completionItem/resolve result not handled: {:?}", result);
16351635
warn!("{}", msg);
16361636
self.vim()?.echowarn(&msg)?;
16371637

src/viewport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use lsp_types::*;
22

33
/// Visible lines of editor.
44
///
5-
/// Inclusive at start, exclusive at end. Both start aned end are 0-based.
5+
/// Inclusive at start, exclusive at end. Both start and end are 0-based.
66
#[derive(Debug, Serialize, Deserialize, Eq, PartialEq, Copy, Clone)]
77
pub struct Viewport {
88
pub start: u64,

0 commit comments

Comments
 (0)