nerd_tree follow_symbolic_link

This commit is contained in:
Amber
2024-04-17 16:54:54 +02:00
parent 207cc4934b
commit 198b4cdfd3
5 changed files with 28 additions and 6 deletions

View File

@ -10,12 +10,14 @@ if __name__ == '__main__':
path = cmd_args.path
list_dir_first = cmd_args.list_directories_first
colorize = cmd_args.colorize
follow_symbolic_link = cmd_args.follow_symbolic_link
# opts for generatign the tree
opts = {
'items_to_exclude' : cmd_args.exclude or [],
'list_dir_first' : list_dir_first,
'colorize' : colorize,
'follow_symbolic_link': follow_symbolic_link,
}
ntree = NerdTree(path, opts=opts)