Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-stefaniak committed Nov 23, 2024
1 parent f02a9d5 commit 6d0eec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
stopAtLines,
stopAtRepeatingLines,
stopAtSimilarLine,
stopNCharsAfterClosingBracket,
stopAfterNCharacterOverlapAfterBracket,
streamWithNewLines,
} from "./lineStream";

Expand Down Expand Up @@ -49,7 +49,7 @@ export class StreamTransformPipeline {
);
lineGenerator = avoidPathLine(lineGenerator, helper.lang.singleLineComment);
lineGenerator = skipPrefixes(lineGenerator);
lineGenerator = stopNCharsAfterClosingBracket(
lineGenerator = stopAfterNCharacterOverlapAfterBracket(
lineGenerator,
helper.prunedSuffix,
);
Expand Down
2 changes: 1 addition & 1 deletion core/autocomplete/filtering/streamTransforms/lineStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ export async function* showWhateverWeHaveAtXMs(
}
}

export async function* stopNCharsAfterClosingBracket(
export async function* stopAfterNCharacterOverlapAfterBracket(
lines: LineStream,
prunedSuffix: string,
n: number = 10,
Expand Down

0 comments on commit 6d0eec2

Please sign in to comment.