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