Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Jun 14, 2024
1 parent bb84f78 commit afbf3b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
8 changes: 2 additions & 6 deletions styles/custom/LatinAbbreviations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,5 @@ swap:
- etc.: and so on
- N.B.: Note

edit:
- 's/e.g./for example/g'
- 's/i.e./for example/g'
- 's/i.e./that is/g'
- 's/etc./and so on/g'
- 's/N.B./Note/g'
action:
name: replace
8 changes: 6 additions & 2 deletions styles/custom/Repitition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ nonword: true
tokens:
- '\b(\w+)\s+\1\b'

edit:
- 's/\b(\w+)\s+\1\b/\1/'
action:
name: edit
params:
- regex
- '\b(\w+)\s+\1\b'
- '\1'
9 changes: 2 additions & 7 deletions styles/custom/Typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ swap:
- occured: occurred
- untill: until

edit:
- 's/teh/the/g'
- 's/recieve/receive/g'
- 's/definately/definitely/g'
- 's/seperate/separate/g'
- 's/occured/occurred/g'
- 's/untill/until/g'
action:
name: replace

0 comments on commit afbf3b7

Please sign in to comment.