Skip to content
Snippets Groups Projects
Commit db1753be authored by Martin Hasoň's avatar Martin Hasoň Committed by Marijn Haverbeke
Browse files

[gherkin] Renamed tokens for placeholder and table header

parent 14877c38
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment