summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index cfbed43..61f6487 100644
--- a/vimrc
+++ b/vimrc
@@ -714,7 +714,7 @@ for file in [ '.gitignore', expand('~/.gitignore') ]
for line in readfile(file)
let line = substitute(line, '#.*', '', '')
if line != ''
- call extend(g:startify_skiplist, glob(line, 1, 1))
+ call extend(g:startify_skiplist, map(glob(line, 1, 1), "substitute(v:val, '[~.*]', '\\\\&', 'g')"))
endif
endfor
endif