Permalink
Browse files

add actual call with soyfile utilization.

  • Loading branch information...
1 parent 15cc852 commit 49fbf1d81ce19591799022b539b4b44a98237e80 @0robustus1 0robustus1 committed Aug 23, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/soywiki.vim
View
@@ -602,8 +602,9 @@ endfunc
"------------------------------------------------------------------------
func! s:open_href_under_cursor()
let word = expand("<cWORD>")
- let href = matchstr(word, s:uri_link_pattern)
- let command = g:SoyWiki#browser_command . " '" . href . "' "
+ let soyuri = matchstr(word, s:uri_link_pattern)
+ let uri = s:expand_iana_uri(soyuri)
+ let command = g:SoyWiki#browser_command . " '" . uri . "' "
call system(command)
echom command
endfunc

0 comments on commit 49fbf1d

Please sign in to comment.