From c71be9f337ca67d426151abbe1ca90b9bb35294b Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+nikitarevenco@users.noreply.github.com> Date: Thu, 7 Nov 2024 20:58:18 +0000 Subject: [PATCH] feat: add / as a char to subword --- helix-core/src/chars.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-core/src/chars.rs b/helix-core/src/chars.rs index 1b28c62a7..8ee2e257e 100644 --- a/helix-core/src/chars.rs +++ b/helix-core/src/chars.rs @@ -36,7 +36,7 @@ pub fn char_is_line_ending(ch: char) -> bool { /// Determine whether a character is a subword delimiter. #[inline] pub fn char_is_subword_delimiter(ch: char) -> bool { - ch == '_' || ch == '-' + ch == '_' || ch == '-' || ch == '/' } /// Determine whether a character qualifies as (non-line-break)