remove constant ITEMS_TO_EXCLUDE
This commit is contained in:
parent
c16788d90b
commit
a92c6e8327
@ -114,7 +114,7 @@ class NerdTree():
|
|||||||
d.setdefault('not_readable', 1)
|
d.setdefault('not_readable', 1)
|
||||||
|
|
||||||
for item in items:
|
for item in items:
|
||||||
if item in _tree_repr.ITEMS_TO_EXCLUDE:
|
if item in self.opts.get('items_to_exclude') or []:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
abs_path_item = startpath+item
|
abs_path_item = startpath+item
|
||||||
@ -205,8 +205,8 @@ class NerdTree():
|
|||||||
items = rootnode.get('children') or []
|
items = rootnode.get('children') or []
|
||||||
|
|
||||||
for n, item in enumerate(items):
|
for n, item in enumerate(items):
|
||||||
if item['name'] in _tree_repr.ITEMS_TO_EXCLUDE:
|
# if item['name'] in _tree_repr.ITEMS_TO_EXCLUDE:
|
||||||
continue
|
# continue
|
||||||
|
|
||||||
islast = (n==len(items) -1)
|
islast = (n==len(items) -1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user