Skip to content

Commit 71db9cd

Browse files
committed
Use correct syntax-highlighting with *.feature files
1 parent 2952ce5 commit 71db9cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/console_scripts/sb_print.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def main():
8989
code_lang = "go"
9090
elif file_to_print.lower().endswith(".java"):
9191
code_lang = "java"
92+
elif file_to_print.lower().endswith(".feature"):
93+
code_lang = "gherkin"
9294
elif "." not in file_to_print:
9395
code_lang = "markdown"
9496
else:

0 commit comments

Comments
 (0)