commit bddd644fbb0ea3c04d0aa7ef997c136eb1f85347
parent 675ff23ed145f63a045093f7e362acde303219c2
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Wed, 7 Nov 2018 22:02:30 +0100
Use $HOME instead of ~/ in paths
Apparently, the latter doesn't work on all platforms.
Ref #565
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 = []