aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/camelcasemotion.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/camelcasemotion.vim b/autoload/camelcasemotion.vim
index 6860bf8..062ab3a 100644
--- a/autoload/camelcasemotion.vim
+++ b/autoload/camelcasemotion.vim
@@ -27,7 +27,7 @@ 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
+call add(s:forward_to_end_list, "[\"'`«»]") " quotes
let s:forward_to_end = join(s:forward_to_end_list, '\|')
let s:forward_to_next_list = []
@@ -43,7 +43,7 @@ call add(s:forward_to_next_list, '\u\l\+') " Came
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
+call add(s:forward_to_next_list, "[\"'`«»]") " quotes
let s:forward_to_next = join(s:forward_to_next_list, '\|')
function! s:Move(direction, count, mode)