Escape tilde (~) in path names otherwise regex comparison gets upset

This commit is contained in:
Michael 2016-02-29 16:12:56 -05:00
parent 3bd3d9b860
commit c2d1869227

View File

@ -38,7 +38,7 @@ function! vimwiki#u#count_first_sym(line) "{{{
endfunction "}}} endfunction "}}}
function! vimwiki#u#escape(string) "{{{ function! vimwiki#u#escape(string) "{{{
return escape(a:string, '.*[]\^$') return escape(a:string, '~.*[]\^$')
endfunction "}}} endfunction "}}}
" Load concrete Wiki syntax: sets regexes and templates for headers and links " Load concrete Wiki syntax: sets regexes and templates for headers and links