diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim index f34300c..9d17fd5 100644 --- a/ftplugin/vimwiki.vim +++ b/ftplugin/vimwiki.vim @@ -31,7 +31,7 @@ execute 'setlocal suffixesadd='.VimwikiGet('ext') setlocal isfname-=[,] " gf}}} -exe "setlocal tags+=" . vimwiki#tags#metadata_file_path() +exe "setlocal tags+=" . escape(vimwiki#tags#metadata_file_path(), ' \|"') " MISC }}}