From bddd644fbb0ea3c04d0aa7ef997c136eb1f85347 Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Wed, 7 Nov 2018 22:02:30 +0100 Subject: [PATCH] Use $HOME instead of ~/ in paths Apparently, the latter doesn't work on all platforms. Ref #565 --- autoload/vimwiki/vars.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki/vars.vim b/autoload/vimwiki/vars.vim index 2e7d036..1bdda1a 100644 --- a/autoload/vimwiki/vars.vim +++ b/autoload/vimwiki/vars.vim @@ -198,12 +198,12 @@ function! s:populate_wikilocal_options() \ 'list_margin': -1, \ 'maxhi': 0, \ 'nested_syntaxes': {}, - \ 'path': '~/vimwiki/', + \ 'path': $HOME . '/vimwiki/', \ 'path_html': '', \ 'syntax': 'default', \ 'template_default': 'default', \ 'template_ext': '.tpl', - \ 'template_path': '~/vimwiki/templates/', + \ 'template_path': $HOME . '/vimwiki/templates/', \ } let g:vimwiki_wikilocal_vars = []