mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-12 21:33:50 -05:00
fix a bug where the script ignored dirs ending in a dot
This commit is contained in:
@@ -1186,7 +1186,7 @@ function! s:TreeDirNode._initChildren(silent)
|
||||
"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
|
||||
|
||||
Reference in New Issue
Block a user