Merge d9ce6b0d6a
into 574bb1887b
This commit is contained in:
commit
493f06d339
|
@ -15,7 +15,10 @@ def environment(pl, segment_info, variable=None):
|
|||
:param string variable:
|
||||
The environment variable to return if found
|
||||
'''
|
||||
return segment_info['environ'].get(variable, None)
|
||||
return [{
|
||||
'contents': segment_info['environ'].get(variable, None),
|
||||
'highlight_groups': ['environment_variable']
|
||||
}]
|
||||
|
||||
|
||||
@requires_segment_info
|
||||
|
|
Loading…
Reference in New Issue