diff --git a/assets/syntaxes/Robot.sublime-syntax b/assets/syntaxes/Robot.sublime-syntax index 85e4f6d5..0faa2735 100644 --- a/assets/syntaxes/Robot.sublime-syntax +++ b/assets/syntaxes/Robot.sublime-syntax @@ -52,3 +52,6 @@ contexts: - meta_scope: keyword.control.robot - match: '($|\||\s{2,})' pop: true + - match: (?i)^\s+(Given|When|and|but|Then) + comment: BDD keywords + scope: string.robot.bdd