lib/soywiki.vim in soywiki-0.4.6 vs lib/soywiki.vim in soywiki-0.4.7
- old
+ new
@@ -137,12 +137,10 @@
call s:open_href_under_cursor()
return
endif
let link = s:link_under_cursor()
if link == ""
- " just switch windows
- silent wincmd p
- echom "'" . word . "' is not a wiki link. " . (winnr('$') > 1 ? "Switched to last accessed window." : "")
+ echom ""
return ""
elseif line('.') == 1
" SPECIAL CASE
" close window
if winnr('$') > 1