Add handling for gherkin prefix to fix auto completion in edit mode, text mode is made bold font.

`mathcer` is misleading variable name, I'd prefer to see the variable inlined