<commit_before>:%s/\s\+$//
:norm gg=G
:%s/^  end\n*  \(\w\)/  end\r\r  \1/
:%s/^end\n*\(\w\)/end\r\r\1/
:%s/\n*  Scenario/\r\r  Scenario/g
:%s/\(@\w\+\)\n\n  Scenario/\1\r  Scenario/g
:wq!
<commit_msg>Improving autoformatter<commit_after>:%s/\s\+$//  "Remove trailing whitespace
:norm gg=G   "Perform indentation
:%s/end\n\n*/end\r\r/g "Insert two newlines after any 'end'
:%s/^\n*\( *\)end/\1end/g "Remove all newlines before 'end'
:%s/\n*  Scenario/\r\r  Scenario/g "Standard indentation for scenarios
:%s/\(@\w\+\)\n\n  Scenario/\1\r  Scenario/g "Standard indentation for scenarios
:wq! "Save file

{'fraction_non_alphanumeric': 0.2512479201331115, 'fraction_numerical': 0.008319467554076539, 'mean_word_length': 3.013333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6229110', 'n_tokens_mistral': 273, 'n_tokens_neox': 271, 'n_words': 56}