Skip to content

Commit

Permalink
Merge pull request #379 from cucumber/fix/378-string-gherkin-highlight
Browse files Browse the repository at this point in the history
Fix string highlight in Gherkin files
  • Loading branch information
qvdk authored Nov 26, 2019
2 parents 3f926b6 + f7ea45f commit 4c1fd00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public void configureRules() {
rules.add(new EndOfLineRule("#", comment)); //$NON-NLS-1$

// Add rule for strings and character constants.
rules.add(new SingleLineRule(" \"", "\" ", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
rules.add(new SingleLineRule(" '", "' ", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
rules.add(new SingleLineRule("\"", "\"", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
rules.add(new SingleLineRule("'", "'", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$

// Add rule for tags.
rules.add(new GherkinTagRule(tag));
Expand Down

0 comments on commit 4c1fd00

Please sign in to comment.