Detect the OS correctly

Fix #158
This commit is contained in:
EinfachToll
2015-09-14 15:11:14 +02:00
parent 854219f42e
commit 2afff4c411
2 changed files with 10 additions and 1 deletions

View File

@ -389,7 +389,7 @@ function! vimwiki#base#system_open_link(url) "{{{
if vimwiki#u#is_windows()
call s:win32_handler(a:url)
return
elseif has("macunix")
elseif vimwiki#u#is_macos()
call s:macunix_handler(a:url)
return
else