File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,22 @@ CodeMirror.defineMode("gherkin", function () {
155
155
state . inKeywordLine = true ;
156
156
return "keyword" ;
157
157
158
+ // RULE
159
+ } else if ( state . allowScenario && stream . match ( / ( 規 則 | ル ー ル | ق ا ن و ن | ق و ا ع د | ח ו ק | ق ا ع د ة | П р а в и л о | П р а в и л а | R e e g e l | R e g e l | R è g l e | R e g o l a | R e g l a | R e g u l ă | R e g u l | R e g u l a | R e g e l | R e g e l | R e g u l a | П р а в и л о | П р а в и л а | R e g e l | R e g o l a | R e g u l | R e e g l i d | R u l e ) : / ) ) {
160
+ state . allowPlaceholders = false ;
161
+ state . allowSteps = true ;
162
+ state . allowBackground = false ;
163
+ state . allowMultilineArgument = true ;
164
+ return "keyword" ;
165
+
166
+ // EXAMPLE
167
+ } else if ( state . allowScenario && stream . match ( / ( 例 子 | 例 | サ ン プ ル | 예 | ד ו ג מ ה | م ث ا ل | Ү р н ә к | П р и м е р | Π α ρ ά δ ε ι γ μ α | E x e m p l o | E x e m p l e | B e i s p i e l | E j e m p l o | E x a m p l e | E s e m p i o | Ö r n e k | P é l d a | P a v y z d y s | P a r a u g s | V o o r b e e l d | P ř í k l a d | P r í k l a d | E x e m p l u | E s e m p i ) : / ) ) {
168
+ state . allowPlaceholders = false ;
169
+ state . allowSteps = true ;
170
+ state . allowBackground = false ;
171
+ state . allowMultilineArgument = true ;
172
+ return "keyword" ;
173
+
158
174
// INLINE STRING
159
175
} else if ( stream . match ( / " [ ^ " ] * " ? / ) ) {
160
176
return "string" ;
You can’t perform that action at this time.
0 commit comments