Escape tilde (~) in path names otherwise regex comparison gets upset
This commit is contained in:
1 parent
3bd3d9b860
commit
c2d1869227
1 file changed
+1
-1
@@ -38,7 +38,7 @@ function! vimwiki#u#count_first_sym(line) "{{{
|
||||
endfunction "}}}
|
||||
|
||||
function! vimwiki#u#escape(string) "{{{
|
||||
return escape(a:string, '.*[]\^$')
|
||||
return escape(a:string, '~.*[]\^$')
|
||||
endfunction "}}}
|
||||
|
||||
" Load concrete Wiki syntax: sets regexes and templates for headers and links
|
||||
|
||||
Reference in new issue
Block a user