diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-06-29 13:26:43 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2017-06-29 13:26:43 +0200 |
commit | 71e8ed91715280d02e3f3684ad1e1d8bc4479867 (patch) | |
tree | c71da58a6e68766df8493c38a0199c4ba90787f6 | |
parent | da35e594baceba21fcab62d24d0a283604835517 (diff) | |
download | camelcasemotion-71e8ed91715280d02e3f3684ad1e1d8bc4479867.tar.gz camelcasemotion-71e8ed91715280d02e3f3684ad1e1d8bc4479867.tar.bz2 |
Add ; to the delimiters
-rw-r--r-- | autoload/camelcasemotion.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/camelcasemotion.vim b/autoload/camelcasemotion.vim index 062ab3a..2d8d2f5 100644 --- a/autoload/camelcasemotion.vim +++ b/autoload/camelcasemotion.vim @@ -26,7 +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, '[-=;]') " generic word splitting characters call add(s:forward_to_end_list, "[\"'`«»]") " quotes let s:forward_to_end = join(s:forward_to_end_list, '\|') @@ -42,7 +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, '[-=;]') " generic word splitting characters call add(s:forward_to_next_list, "[\"'`«»]") " quotes let s:forward_to_next = join(s:forward_to_next_list, '\|') |