commit 842f842100abc84f511c09759fbf40318ca87c0e
parent 990b25ce37bbeb8a8c8f9208c0f8f455202041db
Author: Benney Au <benney_au@hotmail.com>
Date: Sun, 6 Sep 2020 17:45:48 +1000
886 fix generate links on windows (#1011)
* 886 fix generate links on windows
* update docs
* 886
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/autoload/vimwiki/path.vim b/autoload/vimwiki/path.vim
@@ -131,8 +131,8 @@ function! vimwiki#path#relpath(dir, file) abort
return a:file
endif
" Unixify && Expand in
- let s_dir = expand(s:unixify(a:dir))
- let s_file = expand(s:unixify(a:file))
+ let s_dir = s:unixify(expand(a:dir))
+ let s_file = s:unixify(expand(a:file))
" Split path
let dir = split(s_dir, '/')
@@ -164,7 +164,7 @@ function! vimwiki#path#relpath(dir, file) abort
let result_path .= '/'
endif
- return s:osxify(result_path)
+ return result_path
endfunction
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
@@ -3828,6 +3828,7 @@ Contributors and their Github usernames in roughly chronological order:
- Birger Niklas (@BirgerNi)
- Chip Senkbeil (@chipsenkbeil)
- Jerome Gay (@jeromg)
+ - Benney Au (@chinwobble)
==============================================================================
16. Changelog *vimwiki-changelog*
@@ -3876,6 +3877,7 @@ Changed:~
Removed:~
Fixed:~
+ * Issue #886: :VimwikiGenerateLinks not working on Windows
* Issue #55: Newlines in blockquotes are not honored
* Issue #55: BlockQuote restarts list numbering
* Issue #979: Fix: Accessing other filetypes within vimwiki