aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-06-29 12:17:22 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-06-29 12:17:22 +0200
commitda35e594baceba21fcab62d24d0a283604835517 (patch)
treedd3a7b52a470cf913057a3c6e04e8b1b5569b316
parent1abb4e2b96666d1410a2b3146e465f6606f0dfda (diff)
Add guillemets as quotes
-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)