Skip to content

Commit

Permalink
feedback: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alevinval committed Jun 5, 2023
1 parent 67099d1 commit 5fefbe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helix-core/src/match_brackets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ fn find_pair(syntax: &Syntax, doc: &Rope, pos: usize, traverse_parents: bool) ->
}
}

/// Returns the position of the matching bracket under cursor, the search
/// is limited to the current line. This function works on plain text, it
/// ignores tree-sitter grammar.
/// Returns the position of the matching bracket under cursor.
/// This function works on plain text and ignores tree-sitter grammar.
/// The search is limited to [MAX_PLAINTEXT_SCAN] characters
///
/// If the cursor is on the opening bracket, the position of
/// the closing bracket is returned. If the cursor on the closing
Expand Down

0 comments on commit 5fefbe7

Please sign in to comment.