Unify path handling -- part 2

This commit is contained in:
EinfachToll
2017-11-08 21:56:59 +01:00
parent 8d0d1561c5
commit 12d6265193
6 changed files with 96 additions and 72 deletions

View File

@ -31,7 +31,7 @@ endfunction "}}}
" create a new temporary wiki for the current buffer
function! s:create_temporary_wiki()
let current_file = vimwiki#path#current_file()
let path = vimwiki#path#directory(current_file)
let path = vimwiki#path#directory_of_file(current_file)
let ext = '.'.vimwiki#path#extension(current_file)
let syntax_mapping = vimwiki#vars#get_global('ext2syntax')