turn all =~ into =~# or =~?; !~ analogically

This commit is contained in:
EinfachToll
2015-02-09 20:47:11 +01:00
parent 6716ba709f
commit e4de62b7d5
7 changed files with 87 additions and 87 deletions

View File

@ -50,7 +50,7 @@ endfunction "}}}
function! vimwiki#path#is_link_to_dir(link) "{{{
" Check if link is to a directory.
" It should be ended with \ or /.
if a:link =~ '.\+[/\\]$'
if a:link =~# '.\+[/\\]$'
return 1
endif
return 0