Skip to content

Commit

Permalink
Link "min" and "max" even when not followed by parentheses (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored May 25, 2022
1 parent 3c930a5 commit 994d663
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/autolinker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ export interface AutoLinkMap {
}

function isCommonAbstractOp(op: string) {
return (
op === 'Call' || op === 'Set' || op === 'Type' || op === 'UTC' || op === 'min' || op === 'max'
);
return op === 'Call' || op === 'Set' || op === 'Type' || op === 'UTC';
}

function lookAheadBeyond(key: string, entry: BiblioEntry) {
Expand Down

0 comments on commit 994d663

Please sign in to comment.