Permalink
Browse files

[gherkin] Renamed tokens for placeholder and table header

  • Loading branch information...
1 parent 14877c3 commit db1753be3764e6c6ce46b74a4cdd0f2d9c90a1ec @hason hason committed with marijnh Dec 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mode/gherkin/gherkin.js
View
@@ -64,7 +64,7 @@ CodeMirror.defineMode("gherkin", function () {
return "bracket";
} else {
stream.match(/[^\|]*/);
- return state.tableHeaderLine ? "property" : "string";
+ return state.tableHeaderLine ? "header" : "string";
}
}
@@ -148,7 +148,7 @@ CodeMirror.defineMode("gherkin", function () {
// PLACEHOLDER
} else if (state.allowPlaceholders && stream.match(/<[^>]*>?/)) {
- return "attribute";
+ return "variable";
// Fall through
} else {

0 comments on commit db1753b

Please sign in to comment.