Escape tilde (~) in path names otherwise regex comparison gets upset
This commit is contained in:
parent
3bd3d9b860
commit
c2d1869227
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user