znai icon indicating copy to clipboard operation
znai copied to clipboard

Ability to highlight complex object fields in json

Open tsiq-karold opened this issue 7 years ago • 1 comments

The paths command in include-json only highlights fields with non-object values. It would be nice if for fields with an object value it highlighted the key.

tsiq-karold avatar Jul 02 '18 12:07 tsiq-karold

There is a workaround which is to use highlight but that highlights the entire line whereas paths highlights just value so if you mix the two it results in inconsistent display. It's also a text match so not quite as precise as paths.

tsiq-karold avatar Jul 02 '18 12:07 tsiq-karold