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