soywiki 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/soywiki.rb +1 -1
- data/lib/soywiki.vim +6 -1
- metadata +2 -2
data/lib/soywiki.rb
CHANGED
data/lib/soywiki.vim
CHANGED
@@ -119,7 +119,12 @@ endfunc
|
|
119
119
|
func! s:find_next_wiki_link(backward)
|
120
120
|
let n = 0
|
121
121
|
" don't wrap
|
122
|
-
|
122
|
+
if a:backward == 1
|
123
|
+
normal b
|
124
|
+
let result = search(s:wiki_link_pattern, 'Wb')
|
125
|
+
else
|
126
|
+
let result = search(s:wiki_link_pattern, 'W')
|
127
|
+
endif
|
123
128
|
if (result == 0)
|
124
129
|
return ""
|
125
130
|
end
|