commit c2d18692279b577b3d31c8c9588d92c0ad2321ce
parent 3bd3d9b86036b21aecd69f0a1e572643d626c280
Author: Michael <michaelriley@marlboro.edu>
Date: Mon, 29 Feb 2016 16:12:56 -0500
Escape tilde (~) in path names otherwise regex comparison gets upset
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/vimwiki/u.vim b/autoload/vimwiki/u.vim
@@ -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