Skip to content

Commit

Permalink
fix: allow acronyms to be 2 characters and have a trailing s
Browse files Browse the repository at this point in the history
  • Loading branch information
ikadix committed Nov 25, 2024
1 parent 8df643e commit 5bc35de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styles/Krystal/Acronyms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ link:
level: suggestion
ignorecase: false
# Ensures that the existence of 'first' implies the existence of 'second'.
first: '\b([A-Z]{3,5})\b'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
first: '\b([A-Z]{2,5}[s]?)\b'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{2,5}[s]?)\)'
# ... with the exception of these:
exceptions:
- API
Expand Down

0 comments on commit 5bc35de

Please sign in to comment.