diff options
author | chunghha | 2022-04-27 19:21:20 +0000 |
---|---|---|
committer | GitHub | 2022-04-27 19:21:20 +0000 |
commit | 3a398eec56c907f9d0f166e77242eb13ded229bc (patch) | |
tree | 4411668f181c0a1ae31b6599a50c196bccd709e6 /helix-core/src/syntax.rs | |
parent | 2e46961886cb40b45a03a91c59823b0e437a9867 (diff) |
fix typos (#2304)
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r-- | helix-core/src/syntax.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 2fd4ed9b..3f9e7bcf 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -229,7 +229,7 @@ pub struct TextObjectQuery { pub enum CapturedNode<'a> { Single(Node<'a>), - /// Guarenteed to be not empty + /// Guaranteed to be not empty Grouped(Vec<Node<'a>>), } @@ -1141,7 +1141,7 @@ pub enum HighlightEvent { HighlightEnd, } -/// Contains the data neeeded to higlight code written in a particular language. +/// Contains the data needed to highlight code written in a particular language. /// /// This struct is immutable and can be shared between threads. #[derive(Debug)] @@ -1976,7 +1976,7 @@ mod test { let source = Rope::from_str( r#" /// a comment on -/// mutiple lines +/// multiple lines "#, ); @@ -2006,10 +2006,10 @@ mod test { ) }; - test("quantified_nodes", 1..35); + test("quantified_nodes", 1..36); // NOTE: Enable after implementing proper node group capturing - // test("quantified_nodes_grouped", 1..35); - // test("multiple_nodes_grouped", 1..35); + // test("quantified_nodes_grouped", 1..36); + // test("multiple_nodes_grouped", 1..36); } #[test] |