commit ec76876a74ed5e1b5efe03a932d7d9a076c20294 parent ef1a466342951fb5c0a55c5ef651f780d15ae042 Author: Martin Grenfell <martin_grenfell@msn.com> Date: Sun, 4 May 2008 21:31:38 +1200 added a comment note to clarify something Diffstat:
| M | plugin/NERD_tree.vim | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim @@ -563,7 +563,9 @@ function! s:oTreeDirNode.InitChildren(silent) dict let invalidFilesFound = 0 for i in files - "filter out the .. and . directories + "filter out the .. and . directories + "Note: we must match .. AND ../ cos sometimes the globpath returns + "../ for path with strange chars (eg $) if i !~ '\.\..\?$' && i !~ '\..\?$' "put the next file in a new node and attach it
