Support unicode charaters in

This commit is contained in:
Gus Wynn authored and Wez Furlong committed 2021-04-08 15:42:39 -07:00
1 parent c14ec06ff6
commit dee10c2f21
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ pub struct SelectionRange {
}
fn is_double_click_word(s: &str) -> bool {
match s.len() {
match s.chars().count() {
1 => !config::configuration().selection_word_boundary.contains(s),
0 => false,
_ => true,