fix a bug where the script ignored dirs ending in a dot
This commit is contained in:
parent
71ebe27a8d
commit
e164980d84
@ -1000,6 +1000,8 @@ The latest dev versions are on github
|
|||||||
Next release:
|
Next release:
|
||||||
- fix a bug where secondary nerd trees (netrw hijacked trees) and
|
- fix a bug where secondary nerd trees (netrw hijacked trees) and
|
||||||
NERDTreeQuitOnOpen didnt play nicely, thanks to Curtis Harvey.
|
NERDTreeQuitOnOpen didnt play nicely, thanks to Curtis Harvey.
|
||||||
|
- fix a bug where the script ignored directories whose name ended in a dot,
|
||||||
|
thanks to Aggelos Orfanakos for the patch.
|
||||||
|
|
||||||
3.1.1
|
3.1.1
|
||||||
- fix a bug where a non-listed no-name buffer was getting created every
|
- fix a bug where a non-listed no-name buffer was getting created every
|
||||||
|
@ -1186,7 +1186,7 @@ function! s:TreeDirNode._initChildren(silent)
|
|||||||
"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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user