bugfix: process files with single letter extension

dont ignore files like foo.c !
This commit is contained in:
Martin Grenfell
2008-05-16 12:22:23 +12:00
parent 6e7960ba94
commit c36aaf55f8

View File

@@ -566,7 +566,7 @@ function! s:oTreeDirNode.InitChildren(silent) dict
"filter out the .. and . directories
"Note: we must match .. AND ../ cos sometimes the globpath returns
"../ for path with strange chars (eg $)
if i !~ '\.\..\?$' && i !~ '\..\?$'
if i !~ '\.\.\/\?$' && i !~ '\.\/\?$'
"put the next file in a new node and attach it
try