From c36aaf55f82f7d6669c6df18b74dce3822288cb7 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 16 May 2008 12:22:23 +1200 Subject: [PATCH] bugfix: process files with single letter extension dont ignore files like foo.c ! --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 2cfb038..1545d53 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -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