Skip to content

Commit

Permalink
🐛 Fix highlight alignment in emojified gin-log
Browse files Browse the repository at this point in the history
  • Loading branch information
ogaken-1 committed Dec 25, 2023
1 parent 5f27fb6 commit 8f6091b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions denops/gin/command/buffer/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ export async function exec(
);
const [trimmed, decorations] = await buildDecorationsFromAnsiEscapeCode(
denops,
content,
options.emojify ? content.map(emojify) : content,
);
await buffer.replace(
denops,
bufnr,
options.emojify ? trimmed.map(emojify) : trimmed,
trimmed,
{
fileformat,
fileencoding,
Expand Down

0 comments on commit 8f6091b

Please sign in to comment.