soywiki 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|