mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
bugfix: process files with single letter extension
dont ignore files like foo.c !
This commit is contained in:
@@ -566,7 +566,7 @@ function! s:oTreeDirNode.InitChildren(silent) dict
|
|||||||
"filter out the .. and . directories
|
"filter out the .. and . directories
|
||||||
"Note: we must match .. AND ../ cos sometimes the globpath returns
|
"Note: we must match .. AND ../ cos sometimes the globpath returns
|
||||||
"../ for path with strange chars (eg $)
|
"../ for path with strange chars (eg $)
|
||||||
if i !~ '\.\..\?$' && i !~ '\..\?$'
|
if i !~ '\.\.\/\?$' && i !~ '\.\/\?$'
|
||||||
|
|
||||||
"put the next file in a new node and attach it
|
"put the next file in a new node and attach it
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user