diff --git a/helix-core/src/chars.rs b/helix-core/src/chars.rs index 817bbb86b..abaee759b 100644 --- a/helix-core/src/chars.rs +++ b/helix-core/src/chars.rs @@ -11,6 +11,7 @@ pub enum CharCategory { Unknown, } +/// Determine whether a character is a line ending, whitespace, a "word" character, a punctuation or unknown #[inline] pub fn categorize_char(ch: char) -> CharCategory { if char_is_line_ending(ch) {