Skip to content

Commit

Permalink
add maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Milán Bór authored and Milán Bór committed Sep 16, 2024
1 parent 164cc66 commit feddb40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/elvis_text_style.erl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ is_exception_prefer_quoted(Elem) ->
KeyWords =
['after', 'and', 'andalso', 'band', 'begin', 'bnot', 'bor', 'bsl', 'bsr', 'bxor', 'case',
'catch', 'cond', 'div', 'end', 'fun', 'if', 'let', 'not', 'of', 'or', 'orelse', 'receive',
'rem', 'try', 'when', 'xor'],
'rem', 'try', 'when', 'xor', maybe],
lists:member(Elem, KeyWords).

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
2 changes: 1 addition & 1 deletion test/examples/pass_unquoted_atoms.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ test(_Test) -> ok.
test(_A, nice_atom_name) -> perfect_atomname;
test(_Reserved, _Words) -> ['after', 'and', 'andalso', 'band', 'begin', 'bnot', 'bor', 'bsl', 'bsr', 'bxor', 'case',
'catch', 'cond', 'div', 'end', 'fun', 'if', 'let', 'not', 'of', 'or', 'orelse', 'receive',
'rem', 'try', 'when', 'xor'].
'rem', 'try', 'when', 'xor', 'maybe'].

0 comments on commit feddb40

Please sign in to comment.