feat: add / as a char to subword

pull/12026/head
Nikita Revenco 2 weeks ago
parent fd8f17bcb7
commit c71be9f337

@ -36,7 +36,7 @@ pub fn char_is_line_ending(ch: char) -> bool {
/// Determine whether a character is a subword delimiter. /// Determine whether a character is a subword delimiter.
#[inline] #[inline]
pub fn char_is_subword_delimiter(ch: char) -> bool { pub fn char_is_subword_delimiter(ch: char) -> bool {
ch == '_' || ch == '-' ch == '_' || ch == '-' || ch == '/'
} }
/// Determine whether a character qualifies as (non-line-break) /// Determine whether a character qualifies as (non-line-break)

Loading…
Cancel
Save