nerd_tree follow_symbolic_link
This commit is contained in:
@ -44,7 +44,10 @@ def produce_treeline(prec_seps, lsep):
|
||||
tomount = sep + item_name
|
||||
|
||||
if item.get('is_symlink') and item.get('target', ''):
|
||||
tomount += ' -> %s' % ((item['target'],))
|
||||
if item.get('target_color_formatter'):
|
||||
tomount += ' -> %s' % ((item['target_color_formatter'](item['target']),))
|
||||
else:
|
||||
tomount += ' -> %s' % ((item['target'],))
|
||||
|
||||
# if item.get('type') == 'd':
|
||||
# if item.get('nchildren') is not None:
|
||||
@ -81,5 +84,7 @@ def get_color_formatter(t):
|
||||
return BLUE
|
||||
if t == 'x':
|
||||
return GREEN
|
||||
if t == 'l':
|
||||
return CYAN
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user