I'm writing some very simple code to get data from a web api, i then parse the response and output the result in a buffer.
By default this text is very flat, how can i add keyword highlighting that follows the current theme's colourscheme?
For example, the text in the buffer:
- Keyword1: data1
- Keyword2: data2
How can i define, and most importantly apply faces(i think) to the keywords?