Skip to content

Commit

Permalink
add comment to checkIfAiderBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukimizake committed Sep 10, 2024
1 parent d156a08 commit 4a699d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions denops/aider/buffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export async function checkIfAiderBuffer(
denops: Denops,
bufnr: number,
): Promise<boolean> {
// aiderバッファの場合 `term://{path}//{pid}:aider --4o --no-auto-commits` のような名前になっている
const name = await getBufferName(denops, bufnr);
const splitted = name.split(" ");
return splitted[0].endsWith("aider");
Expand Down

0 comments on commit 4a699d5

Please sign in to comment.