:HighlightText body_temperature
:HighlightText oxygen_saturation
:HighlightText city
:HighlightText iata
:HighlightText travel_flight_class
vi [color_table.txt](../texts/color_table.txt)
:HighlightScript [color_table.script](../texts/color_table.script)
Example 4: highlight entities having syntax entity_value
Vim regexp to select (search) entity_names (including square brackets):
/(.\{-})
Vim regexp to select (search) entity_values (including round brackets):
/\[.\{-}\]
Simply use multiple HighlightText entity_name
commands:
:HighlightText \[.\{-}\] color
:HighlightText (.\{-}) another_color
You want to colorize gender
entity name with a given color number.
And you want to colorize corresponding value with the same color:
:HighlightText (\zsgender\ze) 217
:HighlightText \[\zs[^\[\]]\{-}\ze\](gender) 217
So you want to colorize entity address
with a different color:
:HighlightText (\zsaddress\ze) 112
:HighlightText \[\zs[^\[\]]\{-}\ze\](address) 112