886 fix generate links on windows (#1011)

* 886 fix generate links on windows

* update docs

* 886
This commit is contained in:
Benney Au
2020-09-06 17:45:48 +10:00
committed by GitHub
parent 990b25ce37
commit 842f842100
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -131,8 +131,8 @@ function! vimwiki#path#relpath(dir, file) abort
return a:file return a:file
endif endif
" Unixify && Expand in " Unixify && Expand in
let s_dir = expand(s:unixify(a:dir)) let s_dir = s:unixify(expand(a:dir))
let s_file = expand(s:unixify(a:file)) let s_file = s:unixify(expand(a:file))
" Split path " Split path
let dir = split(s_dir, '/') let dir = split(s_dir, '/')
@@ -164,7 +164,7 @@ function! vimwiki#path#relpath(dir, file) abort
let result_path .= '/' let result_path .= '/'
endif endif
return s:osxify(result_path) return result_path
endfunction endfunction
+2
View File
@@ -3828,6 +3828,7 @@ Contributors and their Github usernames in roughly chronological order:
- Birger Niklas (@BirgerNi) - Birger Niklas (@BirgerNi)
- Chip Senkbeil (@chipsenkbeil) - Chip Senkbeil (@chipsenkbeil)
- Jerome Gay (@jeromg) - Jerome Gay (@jeromg)
- Benney Au (@chinwobble)
============================================================================== ==============================================================================
16. Changelog *vimwiki-changelog* 16. Changelog *vimwiki-changelog*
@@ -3876,6 +3877,7 @@ Changed:~
Removed:~ Removed:~
Fixed:~ Fixed:~
* Issue #886: :VimwikiGenerateLinks not working on Windows
* Issue #55: Newlines in blockquotes are not honored * Issue #55: Newlines in blockquotes are not honored
* Issue #55: BlockQuote restarts list numbering * Issue #55: BlockQuote restarts list numbering
* Issue #979: Fix: Accessing other filetypes within vimwiki * Issue #979: Fix: Accessing other filetypes within vimwiki