diff options
-rw-r--r-- | autoload/camelcasemotion.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/camelcasemotion.vim b/autoload/camelcasemotion.vim index d24c820..6860bf8 100644 --- a/autoload/camelcasemotion.vim +++ b/autoload/camelcasemotion.vim @@ -26,6 +26,7 @@ call add(s:forward_to_end_list, '\u\l\+') " CamelCase call add(s:forward_to_end_list, '\%(\a\|\d\)\+\ze[-_]') " underscore_notation call add(s:forward_to_end_list, '\%(\k\@!\S\)\+') " non-keyword call add(s:forward_to_end_list, '\%([-_]\@!\k\)\+\>') " word +call add(s:forward_to_end_list, '[-=]') " -, = call add(s:forward_to_end_list, "[\"'`]") " quotes let s:forward_to_end = join(s:forward_to_end_list, '\|') @@ -41,6 +42,7 @@ call add(s:forward_to_next_list, '\u\+\zs\%(\u\l\|\d\)') " ALLC call add(s:forward_to_next_list, '\u\l\+') " CamelCase call add(s:forward_to_next_list, '\u\@<!\u\+') " ALLCAPS call add(s:forward_to_next_list, '[-_]\zs\%(\u\+\|\u\l\+\|\l\+\|\d\+\)') " underscored followed by ALLCAPS, CamelCase, lowercase, or number +call add(s:forward_to_next_list, '[-=]') " -, = call add(s:forward_to_next_list, "[\"'`]") " quotes let s:forward_to_next = join(s:forward_to_next_list, '\|') |