From 89940cc381fb3df1ab0b8f0305309e758da148d2 Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Mon, 9 Feb 2015 16:40:07 -0800 Subject: fix issue with motion between 'CONSECUTIVE ACRONYMS' --- autoload/camelcasemotion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/camelcasemotion.vim b/autoload/camelcasemotion.vim index a3ec6c8..7816ef7 100644 --- a/autoload/camelcasemotion.vim +++ b/autoload/camelcasemotion.vim @@ -74,7 +74,7 @@ function! s:Move( direction, count, mode ) "call search( '\<\|\u\(\l\+\|\u\+\ze\u\)\|\d\+\|_\zs\(\a\|\d\)\+', 'W' . l:direction ) " beginning of ... " word | empty line | non-keyword after whitespaces | non-whitespace after word | number | ACRONYM followed by CamelCase or number | CamelCase | ACRONYM | underscore followed by ACRONYM, Camel, lowercase or number - call search( '\<\D\|^$\|\%(^\|\s\)\+\zs\k\@!\S\|\>\<\|\d\+\|\u\+\zs\%(\u\l\|\d\)\|\u\l\+\|\u\+\|[-_]\zs\%(\u\+\|\u\l\+\|\l\+\|\d\+\)', 'W' . l:direction ) + call search( '\<\D\|^$\|\%(^\|\s\)\+\zs\k\@!\S\|\>\<\|\d\+\|\u\+\zs\%(\u\l\|\d\)\|\u\l\+\|\u\@