summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/vimrc b/vimrc
index 5e5fc35..f22ad43 100644
--- a/vimrc
+++ b/vimrc
@@ -712,10 +712,7 @@ for file in [ '.gitignore', expand('~/.gitignore') ]
for line in readfile(file)
let line = substitute(line, '#.*', '', '')
if line != ''
- let line = substitute(line, '\.', '\\.', 'g')
- let line = substitute(line, '*', '.*', 'g')
- let line = substitute(line, '?', '.?', 'g')
- call add(g:startify_skiplist, '/' . line . '$')
+ call extend(g:startify_skiplist, glob(line, 1, 1))
endif
endfor
endif